Spring boot recipe to start

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

Okay, we are ready.

Loading

Published
Categorized as xacdo

By xacdo

Kyungwoo Hyun

Leave a comment

Your email address will not be published. Required fields are marked *