1. Initial setup

Spring Boot // Initial setup #

This time we’ll start writing actual apps. We need to pick one subject and do the app for it.

We’ll start by opening https://start.spring.io and adding these dependencies

  1. web
  2. actuators
  3. spring-data
  4. h2
  5. lombok
  6. configuration processor

Next, initial setup of the app

  • Download the skeleton app
  • Import in our IDE
  • Run it for the first time
  • Check the default actuator endpoints
    GET localhost:8080/actuator
    GET localhost:8080/actuator/info
    GET localhost:8080/actuator/health