PMS stands for Pizzaria Management System
The current services available are:
- api-products
This is a monorepo, so for building the images we need to be at the root level, and build each individual Docker Image inside each app
docker image build -f ./apps/api-product/Dockerfile -t pms-microservices/api-products:0.1 .
To run all docker images, use docker compose
docker-compose up
To make a GET request for all products:
curl http://localhost:5000/api/products
To make a POST request for a product:
curl -X POST http://localhost:5000/api/products -H 'Content-Type: application/json' -d '{"name":"curl","quantity":"123"}'