Spring Boot Project Structure Explained: Folders, Files, and How They Connect
This is Part 2 of my Spring Boot series. In Part 1, I explained what Spring Boot is and why we use it. Now let's open a real project and understand what is inside.
When you create a Spring Boot project, you get many files and folders. It looks confusing at first. This post answers three simple questions:
What are all these files?
Where do I write my code?
How do my classes work together? Step 1: What you get in a new project
At the start, you only work with three things:
What
Why
pom.xml
Add libraries here.…