This requires Node 10.x or greater.
npm install
to install dependenciesgrpc
is not found, clone the gRPC repository and run npm install path/to/grpc/src/node
.Run the server
$ # from this directory $ nodejs ./greeter_server.js &
Run the client
$ # from this directory $ nodejs ./greeter_client.js
This directory has a copy of helloworld.proto
because it currently depends on some Protocol Buffer 2.0 syntax that is deprecated in Protocol Buffer 3.0.