Spring BootSpring Boot Project Structure
Spring Boot

Spring Boot Project Structure

Learn the standard folder structure of a Spring Boot project.

Standard Directory Layout

A typical Spring Boot project looks like this:
Shell
my-app/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ main/
│   │   ā”œā”€ā”€ java/
│   │   │   └── com/example/myapp/
│   │   │       ā”œā”€ā”€ MyAppApplication.java
│   │   │       ā”œā”€ā”€ controller/
│   │   │       ā”œā”€ā”€ service/
│   │   │       ā”œā”€ā”€ repository/
│   │   │       └── model/
│   │   └── resources/
│   │       ā”œā”€ā”€ application.properties
│   │       ā”œā”€ā”€ static/
│   │       └── templates/
│   └── test/
│       └── java/
ā”œā”€ā”€ pom.xml
└── README.md