/grpc-example

gRPC examples in Go

Primary LanguageGo

Repo to demonstrate gRPC examples

The repository is in 6 sections, each with their corresponding directory.

A. Plain GRPC Server

This shows the basic code needed for a GRPC server.

B. GRPC with REST

This shows what a GRPC server with corresponding REST endpoints looks like.

C. Adding Swagger

This shows what adding Swagger to the rest endpoint looks like.

D. Adding an Endpoint

This shows what it looks like when you add an endpoint to the GRPC server

E. Containerising

This shows an example of how you could build a container to deploy the server.

F. Adding Firestore

This shows an example of adding Google Firestore to add a Database to your server. It also modifies endpoints to demonstrate POST requests.