This repository is related to module 6 in Marco Behler's course "The confident Spring professional" https://www.marcobehler.com/ which I purchased in order to understand the fundamentals of Spring. The course starts with plain Java backend and introduces plain Spring features little by little, showcasing what Spring Boot hides under the hood. At the end of the course Spring Boot features are implemented.
This was rather short module, but very educational.
- Rebuild the application using Spring Boot.
To run the application, you have two choices:
- Run locally
- Run in Docker
- Ensure all the dependencies are installed
- Clone the repository
- Build the project using Maven:
mvn clean install
- Run the application with:
java -jar target/simple-webapp-springboot-0.0.1-SNAPSHOT.jar
- Build the image:
docker build . -t confident-06:latest
- Run the image:
docker run -it -p 8080:8080 confident-06:latest
- Open the api in http://localhost:8080