Skip to content

rdhawladar/grpc-API-with-nodejs

Repository files navigation

gRPC API call from (server and client) in (Node.js)

PREREQUISITES

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

INSTALL

$ # Get the gRPC repository
$ #Enter into the folder
$ npm install

TRY IT!

There are two ways to generate the code needed to work with protocol buffers in Node.js - one approach uses Protobuf.js to dynamically generate the code at runtime, the other uses code statically generated using the protocol buffer compiler protoc.

  • Run the server

    $ # from this directory
    $ node server.js
  • Run the client

    $ # from this directory
    $ node client.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published