Skip to content

lcmartins/food

Repository files navigation

CI_WITH_GITHUB

Microservice for ordering a food

tecnologies/arquitecture

  • Springboot
  • Jpa
  • Relational database
  • mysql
  • docker
  • docker-compose
  • GitHub Actios - CI/CD

curl to create an order:

curl --request POST
--url http://localhost:8080/orders
--header 'Content-Type: application/json'
--header 'User-Agent: insomnia/10.0.0'
--data '{ "customer_id": 10, "order_items": [ { "food_id": 1, "quantity": 3 }, { "food_id": 1, "quantity": 3 }, { "food_id": 2, "quantity": 3 } ] }'

image

output

image

running via docker

being at the root folder (where start.sh is), run chmod+x start.sh than ./start.sh to bring everything up. follow start.sh instructions to access the service

build image to docker hub via github actions

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages