News for hackers. Stuff that matters.
Re:Show HN: Staffjoy V2, now open source by philip1209 on Tuesday February 28, 2017 @12:31AM (#13751512)
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.

Re:Show HN: Staffjoy V2, now open source by troyk on Tuesday February 28, 2017 @12:50AM (#13751578)
gRPC-gateway looks very attractive. Thank you for posting this for the rest of us to learn from, a brilliant effort for sure.
Re:Show HN: Staffjoy V2, now open source by philip1209 on Tuesday February 28, 2017 @12:53AM (#13751588)
Its documentation is horrible for getting started. Lmk if you have issues.