This is a demo app for building a service in Go, then exporting it with a REST and gRPC API.
make
will start the server. You can then either:
- navigate to http://localhost:5000/swagger-ui for the REST docs & interacter
cd ruby && bundle exec bin/rest_client.rb localhost:5000
to run the ruby client against the REST APIcd ruby && bundle exec bin/grpc_client.rb <grpc host>
to run the ruby client against the gRPC API
This contains the main definition of the types, and APIs in use.
Actually starts the servers
Implementation of the service
Consumes the generated gRPC client in ruby/lib
Consumes the generated REST/Swagger client gem in ruby/releases_client
All code generation is triggered in the Makefile
Can be generated statically, but the Dynamic version version is fun. See the quickstart. The gem has documentation generated in ruby/releases_client/doc