- Install Golang on your machine
- Install dependencies
go get github.com/labstack/echo/v4
go get google.golang.org/grpc
go get google.golang.org/protobuf
go get golang.org/x/oauth2
- Protocol Buffer compiler https://grpc.io/docs/protoc-installation/
- Go plugins
go install google.golang.org/protobuf/cmd/protoc-gen-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
rest
- Initiate a REST API with Golang's frameworks to simulate the web server in generalgrpc
- Simulate the communication between backend-to-backend using gRPCgrpc-with-error-handling
- Setup custom error to handlinggrpc-with-authentication
- Setup authentication
Please click watch
on the right top of this page to get updates
grpc-with-rest-and-swagger
- Generate REST API and Swagger from Protocol Buffergrpc-with-kubernetes
- How to deal with load balancing