r/SpringBoot • u/[deleted] • Jun 29 '24
Well Structured Projects
Hello, I am looking for some well-structured Spring Boot projects to learn the best practices of the framework. I would really appreciate any recommendation.
25
Upvotes
1
u/Aggravating_Crazy_65 Jun 29 '24
why? you can have 2 package structure
entity package oriented
layer package oriented
If you choose the second, you have the following: controller/service/component/entity
if you take the entity oriented: user package and inside the layer classes.
Is just conventions, and inside a project, when you choose one or create your own with your team, everything it's fine.
the package is not the software (which is the real reason for what we are doing)