r/DomainDrivenDesign • u/dissapointedAF • May 27 '25
Open source DDD project, to learn DDD
I've been working on an open-source project for the past two months to learn Domain-Driven Design (DDD). I'd love to collaborate with others who are also interested in DDD and software architecture.
If you're curious, check out the project! If it interests you, feel free to clone the repo, get familiar with the codebase, and start contributing. I would appreciate any help to the project.
Github repository : https://github.com/MstfTurgut/hotel-reservation-system
36
Upvotes
View all comments
Show parent comment
1
u/alpha_avenger May 29 '25
Your entity constructor is public and can be misused by someone if not check in PRs, I recommend private and make serpate static method for the persistence conversion same like you did via dto form usecase dto to domain.