Skip to content

midoblgsm/go-grpc-rest-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang grpc starter kit

TL;DR Bolerplate to get started with protobuf and grpc, bonus: REST gateway, swagger api and docker. Clone the repo, build docker image and run:

git clone "github.com/midoblgsm/go-grpc-rest-swagger"

cd go-grpc-rest-swagger

docker build -t myniceboilerplate .
docker run -p 7788:7788 -p 7789:7789 myniceboilerplate

You can see the swagger api at http://localhost:7789/swaggerui

If you modify the api/api.proto you need to run make to generate the server, (client as a bonus) and swagger api.

About

A boilerplate to start with Go, protobuf, gRPC, REST gateway, Swagger and Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published