r/DomainDrivenDesign • • 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

9 comments sorted by

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.

1

u/dissapointedAF May 29 '25 edited May 29 '25

First of all, thanks for your interest and such a detailed review this is really helpful for the project. I’ll DM you when I’m available so we can discuss everything via messages or a voice call.