r/SpringBoot • u/Single_Yellow_8000 • Sep 01 '26
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
View all comments
Show parent comment
1
u/Single_Yellow_8000 Sep 01 '26 edited Sep 01 '26
Thanks! most of the examples I saw with JWT calls the database to verify if the email is correct before verifying the token like this one (https://www.geeksforgeeks.org/springboot/spring-boot-3-0-jwt-authentication-with-spring-security-using-mysql-database/). I guess it has some security risks. But if i understand it right, perhaps the ordering would fix it?