r/SpringBoot • • 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

25 comments sorted by

View all comments

4

u/Aggravating_Crazy_65 Jun 29 '24

I think he is the best https://github.com/springframeworkguru he teach on udemy and have different courses about spring boot.

And, most important thing, never forget to read the docs :) https://spring.io/guides
You can find a lot of examples and start learn very in deep about REST api, DB interactions, Batch processing, Async with Reactor and TESTING!

1

u/WaferIndependent7601 Jun 29 '24

Controllers in controller package. Not so good

2

u/NeoChronos90 Jun 30 '24

so you are saying the people from spring, who are usually one or two units above us average joes are completely wrong?

I would say it might be a style that may seem a bit outdated today, because many people are using another style now - but I would also say, that it does not matter anyway, because when your project grows, you will refactor your packages anyway, and if it does not grow and you have 3 controllers in a controller package and 6 services in a service package, it does not matter - again

1

u/WaferIndependent7601 Jun 30 '24

Who are these „people from spring“

And yes: it’s wrong. No matter if you have 2 or 20 controllers.