Spring RESTApi

Using Spring Mvc, Spring REST Controller,

Add the db url, username and password inside env.properties to make sensitive information private.

In order to connect to db, create env.properties inside resources folder and add as classpath to main method.

RESTApi documentation using Swagger-ui.

MapStruct to map jpa to dto and vice-versa automatically.

Spring Boot Actuator to demonstrate api endpoints

Spring Boot Validation library to validate fields before sending request to server.

Lombok library to generate getter, setter and constructor automatically.

NOTE : Swagger UI is currently not sending request, it can be only used to see the api documentation.