Skip to content

tungeverest/django-nodejs-grpc-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

https://github.com/raynux/grpc-demo

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/

Django

  • Setup Create new venv and activate:

pip install -r requirements.txt

  • Generate Script:

python -m grpc_tools.protoc -I./protos --python_out=./services/demo --grpc_python_out=./services/demo ./protos/demo.proto

--or--

/.generate_script.sh

Edit file demo_pb2_grpc.py: import demo_pb2 as demo__pb2 => import services.demo.demo_pb2 as demo__pb2

  • Server

Node.js

  • Setup npm install

About

Demo app service call api by grpc.io with django and nodejs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy