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/WaferIndependent7601 Jun 29 '24
You can also put everything in one package. But this is also not the best possible solution.
I know that this was done 10 years ago. But we learned from that and should use packages use case wise. It’s so much easier to understand the project. If you stay in the same project all your life it’s ok. If you change projects you don’t want all controllers in one package.
You can also simply move the package to a new service.