Simple gRPC application with cross-language communication (incl. golang server, typescript client and proto files) for educational purpose
- .proto File
- Server Code (Golang)
- Client Code (TypeScript)
- golang compiler
- node.js runtime
- npm package manager
- protobuf compiler
- protobuf js/js-grpc compiler
- protobuf go/go-grpc compiler
- And the node-gyp must work perfectly
For Windows users: Just turn on this checkbox at node.js installation!
- install every item of prerequirements.
- install golang dependencies:
go mod download
- install nodejs dependencies:
npm i
- generate gRPC-compiled codes:
npx buf generate ./proto
- start server:
npm run server
- Run client:
npm run client
- profit
© 2024. Minhyeok Park. MIT Licensed. see LICENSE file