This is project to show you how microservices comunicate each other.
- Clone this repository
- Start product api service :
cd product-api && yarn startor using npmcd product-api && npm run start - Start client service using new terminal :
cd client && yarn startor using npmcd client && npm run start - Test request to
GET /get-product?id=1 - Enjoy :)
when the client service need product data, it will request to product service using gRPC protocols.