Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 829 Bytes

README.md

File metadata and controls

46 lines (26 loc) · 829 Bytes

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