Backend REST API for vehicles, models and brands management.
The service is built on Spring Boot + PostgreSQL, containing the following layers and parts:
Please ensure you have:
And proceed to
docker-compose up
./gradlew clean build bootRun
Your application SWAGGER docs will be available on http://localhost:8080/swagger-ui/
Since the resources do not contain business logic apart from static validations and database constraints, I decided to cover it all with integration tests. It allows me to fully cover all the scenarios in a safe and productive way. The test setup includes docker-compose and test containers, which are gracefully integrated with Spring Boot.