murgatroid99 d1b390453c Update Node examples and example documentation преди 10 години
..
route_guide d1b390453c Update Node examples and example documentation преди 10 години
.gitignore 20fa6693f3 move examples to correct locations преди 10 години
README.md d1b390453c Update Node examples and example documentation преди 10 години
greeter_client.js d1b390453c Update Node examples and example documentation преди 10 години
greeter_server.js d1b390453c Update Node examples and example documentation преди 10 години
package.json d1b390453c Update Node examples and example documentation преди 10 години

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