Example grpc service with http bindings. Server and Http gateway implementation is golang and client is typescript.
make proto-gen
Uses
- protoc-gen-go & protoc-gen-go-grpc to generate go server and client stubs.
- protoc-gen-grpc-gateway to generate go http proxy.
- protoc-gen-grpc-gateway-ts to generate typescript client stubs.
make npm-build-patch
builds the typescript code, auto updates patch version and does npm publish to github npm registry.
- Update all occurance of repository name in package.json
- Update
go_package
in service.proto - Update
name
in buf.yaml