Two simple microservices that communicate with an REST API via gRPC.
Guilherme Rodz | Higo Ribeiro |
- Microservice for User
- Microservice for Purchases
- REST API that communicates with microservices
- Both microservices are not restricted to communicate with API only.
- Try usage of gRPC unidirectional and bidirectional
streams
; - Improve security and credentials;
- Node = 10
- Clone this repository;
- Run
npm or yarn install
at each project in order to install dependencies. - Run
yarn dev
on microservices. - Run
yarn dev
on API. - Enjoy sending requests to REST API available at
http://localhost:3333
.
5.1. You can importInsomnia file
insideapi
folder.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.