Creating the backend scaffold with Spring Initializr
To generate the backend scaffold, instead of creating Maven's pom.xml
file manually from scratch, we can use Spring Initializr to generate a Spring Boot application for us. To do that, let's go to https://start.spring.io and switch to the full version by clicking the Switch to the full version
 link, and then fill in form with the following parameters:
- Group:
com.taskagile
- Artifact:
app
- Name:
TaskAgile
- Description:
Open source task management tool
- Package Name:
com.taskagile
- Dependencies:
Web
,Thymeleaf
,JPA
, andDevTools
After that, all we need to do is click the Generate Project
button, as shown in Figure 8.1:
Figure 8.1: Spring Initializr
File structure
Once Spring Initializr finishes the generation of the skeleton of the backend of our TaskAgile application, we can see the following structure:
. ├── .gitignore ├── .mvn │ └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ...