Skip to content

feixiao/grpc-example

 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • Go 41.8%
  • HTML 31.3%
  • Makefile 22.4%
  • Dockerfile 4.5%