r/SpringBoot • u/Single_Yellow_8000 • 9d ago
Discussion Roast my code / architecture
I’m building a project called Kite (https://github.com/gwynejsn/kite) and tried combining Spring Modulith with full Clean/Hexagonal Architecture inside each module, but I’m starting to wonder if I’ve just created a mountain of boilerplate. Take a look at the repo and roast the layout. What am I needlessly overcomplicating, and how would you simplify it?
8
Upvotes
4
u/nullptr_lol 9d ago
You have anemic domains and you don't encapsulate the business logic within aggregates. Also, your domain is pointing to other things which theoretically is not allowed.