Project created for studies
- Docker
- Docker Compose
- Maven 3.6
Microservices running on docker
- If you want to use the Gmail to sending emails, first create a dedicated in https://myaccount.google.com/apppasswords
When done, you can configure the api-notification in file docker-compose.yml with your password-generate
- api-notification
- api-sales
mvn clean package
####Running
- api-notification
- api-sales
docker-compose build
docker-compose up
-
{ "name": "Lucas Coelho", "email": "lucascoelhosilvacs@gmail.com" } -
http://localhost:8090/products
{ "name": "product1", "price": "10.00" } -
{ "userId": "userId created", "products": [ { "name": "product1", "price": "10.00" }, { "name": "product1", "price": "10.00" } ] }