Unit Conversion application built using Spring Boot and SpringMVC with containerization using Docker.
DEMO
-
Deployed to Heroku Cloud:
Note: It is only running on a free dyno, so it may take some time before it responds.
Steps for executing using docker:
-
Clone/Download the repository.
-
Open the project in the IDE (Netbeans/Intellij Idea/Eclipse) and generate the executable .jar file for the application. The alternate method to generate the .jar file is through Maven.
./mvnw clean install
-
Build the docker image.
docker build -t springboot-mvc-conversion-app .
-
Run the docker image.
docker run -p 7070:7070 -t springboot-mvc-conversion-app
References