To create a new project, we can use a Maven command prompt or an online tool, such as Spring Initializr (http://start.spring.io), to generate the project base. This website comes in handy for creating a simple Spring Boot-based web project to start the ball rolling.
Developing RESTful web services
Creating a project base
Let's go to http://start.spring.io in our browser and configure our project by filling in the following parameters to create a project base:
- Group: com.packtpub.restapp
- Artifact: ticket-management
- Search for dependencies: Web (full-stack web development with Tomcat and Spring MVC)
After configuring our project, it will look as shown in the following screenshot:
Now you can generate the project by clicking...