murgatroid99 d1b390453c Update Node examples and example documentation 10 anni fa
..
route_guide d1b390453c Update Node examples and example documentation 10 anni fa
.gitignore 20fa6693f3 move examples to correct locations 10 anni fa
README.md d1b390453c Update Node examples and example documentation 10 anni fa
greeter_client.js d1b390453c Update Node examples and example documentation 10 anni fa
greeter_server.js d1b390453c Update Node examples and example documentation 10 anni fa
package.json d1b390453c Update Node examples and example documentation 10 anni fa

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 (grpc_common/node).
    $ 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