The repository implement Gin gonic combined with GRPC to build infrastructure microservice. Each service is a sidecar (private database, instance)
Per one service in backend communation via grpc. Gateway service provide RESTful api to client get data .
├── handler
│ └── hander.go
├── main.go
├── pb
│ ├── pb.go
│ └── pb.proto
└── repo
├── repo.go
└── entity.go
- Run project with dev environment by
docker-compose up -d
. - Gateway service run at
http://localhost:8080
go get -u github.com/amsokol/protoc-gen-gotag
protoc -I pb pb/user.proto --go_out=plugins=grpc:pb/. --proto_path=../../../