Skip to content

morajlab/node-go-grpc-template

Repository files navigation

node-go-grpc-template

Node.js-Go gRPC template

Prerequisites

Install

  1. Install all dependencies: npm i
  2. Update your PATH so that the protoc compiler can find the plugins: export PATH="$PATH:$(go env GOPATH)/bin"

Run the example

  1. npm run helloworld:server &
  2. npm run helloworld:client

Note: Every time you change *.proto files, you must run the npm run proto:compile command