Categories
xacdo

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.

1 total views, 1 views today

By xacdo

Kyungwoo Hyun

Leave a Reply

Your email address will not be published.