alvintanudjaja-grpc-proto v1.0.0
gRPC Proto
This is a sample repository to host the common proto files for your services. It comes with scripts to auto generate and build static codes to be published and used by services.
Note that sample proto files provided are following Protocol Buffers v3 and the scripts are not compatible with Windows environment
Overview
Sample central repository for proto files.
Build
Install protobuf, for Mac run:
brew install protobufTo install the dependencies, run:
npm iTo generate static codes and index.ts based on proto files, run:
npm run generateTo build the generated codes to dist, run:
npm run buildTo publish the codes to be used by services, create npm account and login to your account in terminal by running:
npm loginOnce you are logged in, you can publish by running:
npm publishRelated Projects
Contributors
Thanks goes to these people, in no particular order, without whom it would not be possible to complete this project.