Hacker News new | ask | show | jobs
by philip1209 3401 days ago
Yes. I would always use gRPC-gateway in the future. It's an amazing library. Check out the `protobuf` folder - we basically defined the whole api there in a language-agnostic way. For client libraries, you can autogenerate gRPC definitions quickly. For servers, gRPC-gateway provides a Swagger definition that meant that we always had 100% up to date API docs that include a Postman-style way to execute calls. The auto-generated API docs sped up front-end development so much.

I think that access to the docs requires logging in, so here are some screenshots: http://imgur.com/a/R0AvB

Jason Chen is using Elixer/Phoenix for his new project, by the way, and thinks that it's the future for Rails developers.

1 comments

gRPC-gateway looks very attractive. Thank you for posting this for the rest of us to learn from, a brilliant effort for sure.
Its documentation is horrible for getting started. Lmk if you have issues.