This project is a sample project to have a simple CRUD Rest API running in Docker.
The database is MySQL
- docker
- docker-compose
- Intellij IDEA
- Open project with Intellij IDEA and package application.
- Compile image.
docker build -t api_sample .
- Run the entire application.
docker compose up -d
- Once application starts, you can access OpenAPI documentation at: http://localhost:8080/swagger-ui/index.html#/