Node.js-Go gRPC template
protoc
: version 3node
: Node 0.12.x or greatergo
: any one of the three latest major releases of Go
- Install all dependencies:
npm i
- Update your
PATH
so that theprotoc
compiler can find the plugins:export PATH="$PATH:$(go env GOPATH)/bin"
npm run helloworld:server &
npm run helloworld:client
Note: Every time you change
*.proto
files, you must run thenpm run proto:compile
command