Define the services and messages in ./protos/
Run make
to run a dockerized build producing:
- Go protobuf message definitions
- Go gRPC clients and server stubs
- Go grpc-gateway reverse-proxy
- OpenAPI/Swagger documents. Includes a minimal go package that embeds the *.json documents so it's easy to serve via HTTP.
-
Install cookiecutter (
pip3 install cookiecutter
will do it if you already have pip installed) -
Instantiate the template
cookiecutter .
-
Answer the prompts to initialize a repo
-
Copy the results into your own git repo for your project.