{"id":20140076,"url":"https://github.com/minericefield/ddd-onion-lit","last_synced_at":"2025-03-02T23:22:11.235Z","repository":{"id":215537017,"uuid":"738970535","full_name":"minericefield/ddd-onion-lit","owner":"minericefield","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-25T16:11:14.000Z","size":323,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T10:13:15.719Z","etag":null,"topics":["authentication","clean-architecture","ddd","ddd-architecture","hexagonal-architecture","layered-architecture","nestjs","onion-architecture","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minericefield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-04T13:25:31.000Z","updated_at":"2024-12-25T08:29:55.000Z","dependencies_parsed_at":"2024-01-16T18:21:09.338Z","dependency_job_id":null,"html_url":"https://github.com/minericefield/ddd-onion-lit","commit_stats":null,"previous_names":["minericefield/ddd-onion-lit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minericefield%2Fddd-onion-lit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minericefield%2Fddd-onion-lit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minericefield%2Fddd-onion-lit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minericefield%2Fddd-onion-lit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minericefield","download_url":"https://codeload.github.com/minericefield/ddd-onion-lit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241583959,"owners_count":19986074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","clean-architecture","ddd","ddd-architecture","hexagonal-architecture","layered-architecture","nestjs","onion-architecture","typeorm","typescript"],"created_at":"2024-11-13T21:49:06.413Z","updated_at":"2025-03-02T23:22:11.212Z","avatar_url":"https://github.com/minericefield.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ddd-onion-lit\n\nImplementing onion architecture.\n\n# Concept\n\n- [[DDD] Tactical Design Patterns Part 1: Domain Layer](https://dev.to/minericefield/ddd-tactical-design-patterns-part-1-domain-layer-j38)\n- [[DDD] Tactical Design Patterns Part 2: Application Layer](https://dev.to/minericefield/ddd-tactical-design-patterns-part-2-application-layer-e14)\n- [[DDD] Tactical Design Patterns Part 3: Presentation/Infrastructure Layer](https://dev.to/minericefield/ddd-tactical-design-patterns-part-3-presentationinfrastructure-layer-2e4f)\n\n# use case model\n![](doc/use%20case%20model.png)\n\n# domain model\n![](doc/domain%20model.png)\n\n# Development\n\n##### For mysql.\n```\ndocker compose up -d\n```\nMapped port is 3306.\n\n##### Install dependencies.\n```\nyarn install\n```\n\n##### Launch app.\n```\nyarn start:dev\n```\nCheck it out at [localhost:3000/swagger](http://localhost:3000/swagger) .\n\n##### If you want to create example users.\n```\nyarn start:commander SeedUser\n```\nYou can login by `test@example.com` .\n\n# Other implementation approaches\n- [Generate the aggregate root from the factory](https://github.com/minericefield/ddd-onion-lit/tree/variations/user-factory)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminericefield%2Fddd-onion-lit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminericefield%2Fddd-onion-lit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminericefield%2Fddd-onion-lit/lists"}