nafisfaysal / gRPC-Tutorial

Scripts and code for the tutorial published at The New Stack

Home Page:http://thenewstack.io/grpc-lean-mean-communication-protocol-microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gRPC Tutorial

For a detailed walkthrough, please read the tutorial at The New Stack

  • Clone this repo and run the following command to setup and configure gRPC
git clone https://github.com/janakiramm/gRPC-Tutorial

  • Install gRPC Tools for Python and Node.js
sh ./setup.sh

  • Generate the Stub from .Proto file in the Proto directory and copy it to the Server and Client directories
sh ./Gen_Stub.sh

  • Run the Calculator service available in the Server directory
python Calc_Server.py

  • Run the Python Calculator client available in the Client/Python directory
python Calc_Client.py

  • Run the Node.js Calculator client available in the Client/Node directory
node Calc_Client.js

About

Scripts and code for the tutorial published at The New Stack

http://thenewstack.io/grpc-lean-mean-communication-protocol-microservices


Languages

Language:Python 59.4%Language:JavaScript 25.6%Language:Shell 15.0%