Writing REST Services for the gRPC-curious
summary
Generates a reverse-proxy via gRPC-Gateway (protoc plugin protoc-gen-grpc-gateway) that maps HTTP verbs and URL paths to gRPC methods, emits OpenAPI docs, and translates JSON to protobuf with TLS between gateway and gRPC server. Live boilerplate demo adds a user name, regenerates code, and the REST UI and backend both update and work immediately. Supports well‑known types, automated field mask handling for PATCH, custom error mapping, cookies, browser clients and non‑Go backends.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:01Http Json
- 3:57Open Api Generator
- 4:22Building Blocks of the Gateway
- 5:17Live Demo of the Jrz Gateway in Action
- 8:24Main Go File
- 9:06Grc Gateway Setup
- 11:10Open Api Ui
- 15:57Product Features
- 18:49What Have We Done Today
- 19:24Other Features
related talks
31mWriting REST Services for the gRPC curious
24mWriting RESTful APIs Using gRPC-Gateway
05mGenerate RESTful services using GRPC gateway
06mInteratively Migtrating an HTTP Svc to Go
21mExposing gRPC With Confidence: A Kubernetes-First API Gateway Approach
13mFrom Writing REST to Writing gRPC
07mGRPC & Go
46mgRPC vs REST: let the battle begin!
