This repository is related to module 8 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.
Short module. Showcases how data access is made easier but often times requires understanding the underlying technology.
- Replace spring-jdbc with Spring Data JDBC.
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/confident-08-spring-data-jdbc-0.0.1-SNAPSHOT.jar
- Build the image:
docker build . -t confident-08:latest
- Run the image:
docker run -it -p 8080:8080 confident-08:latest
- Open the api in http://localhost:8080