mvn --version
Note: if does not have mvn command please install it
mvn clean install
mvn spring-boot:run
docker build . -t hotel/booking
docker run -p 8080:8080 hotel/booking
With you want to build the image with spring boot the command is:
mvn spring-boot:build-image
https://api.postman.com/collections/9534617-2411e131-4c19-452d-b06c-e2f0fe6d5d63?access_key=PMAT-01GJC5W8V6PGJM190BW169FQMJ
http://localhost:8080/swagger-ui/index.html
Note: I couldn't make the migration with flyway, but at least I try it. Was always in pending status.