Skip to content

simple gRPC server/client examples in Node and Python

Notifications You must be signed in to change notification settings

raynux/grpc-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC samples

Super simple gRPC samples in Node.js and Python. Both version are compatible to each other. More about gRPC, see http://www.grpc.io/

Node.js

Setup

npm install

Server

node nodejs/server.js

Client

node nodejs/client.js

Python

Setup

pip install -r requirements.txt
python -m grpc.tools.protoc -I=. --python_out=./python --grpc_python_out=./python sample.proto

Server

python python/server.js

Client

python python/client.py

About

simple gRPC server/client examples in Node and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published