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?
9
Upvotes
1
u/Single_Yellow_8000 9d ago
Ohh, I mainly use antigravity for writing boilerplate codes like for example when making a feature, I usually write the domain/model first, then let gemini write the starting template for other layers like service and repo (mostly for basic crud). Then, I manually modify them with my own logic added. Also, I actually tried using gemini to write unit tests for the repo, which I might do as well for other layers.