Clean architecture and DDD examples
See original GitHub issueI’m submitting a…
[ ] Regression
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
NestJS is a really good framework designed with a module architecture.
Expected behavior
Would be really nice to have some official examples of how to design a nest application with clean
and DDD
design architecture.
What is the motivation / use case for changing the behavior?
Use those patterns allow us to write applications with “standard” design in mind. E.g. promoting the reuse of the layers when using different transport at the same time.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:64
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Clean Domain-Driven Design - Medium
DDD is used to model the domain entities encapsulating intra-aggregate invariants (validators in constructors). · Use cases (from Clean Architecture) are used to ......
Read more >Comparison of Domain-Driven Design and Clean Architecture ...
Eric Evans' "Domain-Driven Design" and Uncle Bob's "Clean Architecture" are books that have introduced tactical approaches towards building complex ...
Read more >A Template for Clean Domain-Driven Design Architecture
A software architectural template for applying Clean Domain-Driven Design and CQRS to your own solutions.
Read more >Camunda DDD and Clean Architecture - GitHub
To reach the goals of clean architecture, the domain code must not have any dependencies pointing outwards. Instead, all dependencies point towards the...
Read more >Difference between Domain Driven Design and Clean ...
Clean Architecture, as one example of domain-centric architectures, is a certain way to structure your code to achieve certain properties ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Something like that? Not official but still matches the pattern -> https://github.com/juangonzaq/nestjs-ddd/tree/master/src
i created a repository with my “Production Ready” clean architecture NestJS based clean architecture.
Hope you’ll enjoy it - I did.
https://github.com/adico1/clean-on-nest
Seed DB and Run Test 3) npm run start:dev:db:seed && npm run test:e2e
Start in Dev mode 4) npm run “start:dev”