- NB update JDBC URL in order to connect to db, see below
jdbc:h2:file:./database/Products
- get: get product by id
- post: create product
- put: update product
- delete: delete product
http://localhost:8080/api-docs/
http://localhost:8080/swagger-ui.html
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-hateoas</artifactId>
</dependency>
http://localhost:8080/actuator/health
- returns {"status":"UP"}