/youtube-challenge-grpc

Micro-services communicating with gRPC.

Primary LanguageJavaScript

Code Challenge - gRPC microservices

Two simple microservices that communicate with an REST API via gRPC.

Contributors License


Participants

Guilherme Rodz Higo Ribeiro

Roadmap

  • Microservice for User
  • Microservice for Purchases
  • REST API that communicates with microservices

Notes

  • Both microservices are not restricted to communicate with API only.

What can be better?

  • Try usage of gRPC unidirectional and bidirectional streams;
  • Improve security and credentials;

Dependencies

Getting started

  1. Clone this repository;
  2. Run npm or yarn install at each project in order to install dependencies.
  3. Run yarn dev on microservices.
  4. Run yarn dev on API.
  5. Enjoy sending requests to REST API available at http://localhost:3333.
    5.1. You can import Insomnia file inside api folder.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.