- Java 21
- Spring Boot 3.2(with virtual threads)
- Maven
- Use docker-compose
- TestContainers for Integration Tests
- JDBC Client
- Swagger API documentation
- TODO: Monitoring and Observability using Spring Boot Actuator and Micrometer
- Navigate to the root directory and run:
./mvn clean install
- Change to
/scripts - run
./start-services.sh - Run
./create-database.sh - Launch the application using:
mvn clean install spring-boot:run - To interact with the database, you can run:
docker psto obtain the Container ID for the postgres image, then execute:docker exec -it ${containerId} psql mag -U postgres- While in the container, run
\dt mag.to view the list of created tables.
Swagger: Access the Swagger API documentation at: http://localhost:8080/mag-docs/swagger-ui/index.html when the application is running.