gorush/rpc/example/node
dependabot[bot] 937bca3f37
chore(deps): bump lodash from 4.17.19 to 4.17.21 in /rpc/example/node (#570)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 10:01:01 +08:00
..
.gitignore feat(grpc): add node.js example. (#260) 2017-07-25 22:33:06 +08:00
README.md chore: replace yarn with npm (#434) 2019-10-27 12:13:40 +08:00
client.js feat(grcp): support MutableContent for ios (#332) 2018-01-16 11:26:45 +08:00
gorush_grpc_pb.js chore: replace yarn with npm (#434) 2019-10-27 12:13:40 +08:00
gorush_pb.js chore(grpc): support Priority tag 2020-09-27 12:11:35 +08:00
package-lock.json chore(deps): bump lodash from 4.17.19 to 4.17.21 in /rpc/example/node (#570) 2021-05-09 10:01:01 +08:00
package.json chore(deps): bump lodash from 4.17.19 to 4.17.21 in /rpc/example/node (#570) 2021-05-09 10:01:01 +08:00

README.md

gRPC in 3 minutes (Node.js)

PREREQUISITES

node: This requires Node 12.x or greater.

INSTALL

npm install
npm install -g grpc-tools

Node gRPC protoc

cd $GOPATH/src/github.com/appleboy/gorush
protoc -I rpc/proto rpc/proto/gorush.proto --js_out=import_style=commonjs,binary:rpc/example/node/ --grpc_out=rpc/example/node/ --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin`