- Download IntelliJ community edition
- Build a project using Spring Initializr
- Import it as a maven project on IntelliJ
- Go to project settings, modules, dependencies, and change all “tomcat” like somethings to “compile” scope
- Go to run configurations, add an application, select a main class
- Make “controller”, “service”, “model”, “utility” like packages.
- Make @GetMapping something on a controller
- Add “swagger” on pom.xml and config
- Run a server
- Go to swagger-ui.html on a web browser
Okay, we are ready.