Communication between a go and node service using gRPC framework
- Download and install go runtime
- Download and install node and npm
- Install protobuf compiler
cd node-service
folder and run npm install to install node service dependenciescd go-service
folder and run go mod download to install go service dependencies- Run
./gen_proto.sh --all
to generate grpc code bindings for go and node service cd go-service
and run go run grpc_server.go to run the go grpc servercd node-service
to run the node client grpc stubs- unary grpc
node app.js
- client streaming grpc
node sort.js
- server streaming grpc
node client.js
- unary grpc
- Complain to me if it doesn't work