alvintanudjaja-grpc-proto
v1.0.0
Published
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.
Downloads
2
Readme
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 protobuf
To install the dependencies, run:
npm i
To generate static codes and index.ts based on proto files, run:
npm run generate
To build the generated codes to dist, run:
npm run build
To publish the codes to be used by services, create npm account and login to your account in terminal by running:
npm login
Once you are logged in, you can publish by running:
npm publish
Related Projects
Contributors
Thanks goes to these people, in no particular order, without whom it would not be possible to complete this project.