Restful CRUD API for a simple Goals microservice using Spring Boot, Postgres, Docker and MockMvc.
Microservice used for youtube videos tutorials.
Go into the repository you just cloned:
cd ms-users
Build and download all the dependencies from the application:
mvn clean install
Build the dockerfile to create the image's application:
docker build -t codeverso .
Run the docker-compose file:
docker-compose -f src/main/resources/docker-compose/docker-compose.yml up -d
To check if the Postgres and Codeverso images are running using the command:
docker ps
If everything is working good, you can call the endpoints from the container through the url:
http://localhost:8082/users
Gabriel Babler 💻 |
Murillo Welsi 🧪 |
Alexandre Pansan Jr. 💻 |