Source code for my article: Protoc Plugins in Go: gRPC-REST Gateway from Scratch
gRPC-REST gateway is one of the most popular projects in the gRPC-Ecosystem. Since I really like to understand how things work under the hood and how they are implemented, I decided to try and build a minimal gRPC-REST Gateway from scratch. If you are interested as well, make sure to read through the article as I’ve learned a bunch while trying to code it up.
- Make sure to have
Go
andProtoc
installed.
make generate-backend
make generate
make backend
In a new terminal, run:
make run
Try it out with a simple curl:
curl localhost:8000/api/posts