@usepreflight/simple-grpc
v1.0.0
Published
Local server that serves a simple gRPC API
Downloads
1
Readme
Local gRPC
Local server that serves a simple gRPC API.
To run outside of docker:
Install grpcurl, if you don't have it.
brew install grpcurl
Start the server.
node server.js
Query it.
grpcurl -plaintext -d '{"message": "yo"}' -import-path . -proto protos/pingpong.proto localhost:50051 PingPong.Ping > returns > { > "message": "Received message: yo" > }