grpc/examples/node
Stanley Cheung 5821a444c7 remove stray grpc_common reference 2016-03-03 19:46:58 -08:00
..
route_guide Update Node examples and example documentation 2016-02-12 13:21:49 -08:00
.gitignore move examples to correct locations 2015-08-27 14:00:20 -07:00
README.md remove stray grpc_common reference 2016-03-03 19:46:58 -08:00
greeter_client.js Update Node examples and example documentation 2016-02-12 13:21:49 -08:00
greeter_server.js Update Node examples and example documentation 2016-02-12 13:21:49 -08:00
package.json Update Node examples and example documentation 2016-02-12 13:21:49 -08:00

README.md

gRPC in 3 minutes (Node.js)

PREREQUISITES

  • node: This requires Node 0.12.x or greater.

INSTALL

$ cd examples/node
$ npm install

TRY IT!

  • Run the server

    $ # from this directory
    $ node ./greeter_server.js &
    
  • Run the client

    $ # from this directory
    $ node ./greeter_client.js
    

TUTORIAL

You can find a more detailed tutorial in gRPC Basics: Node.js