Skip to content

ragul28/grpc-ms

Repository files navigation

grpc-ms

Exploration gRPC project with Microservice architecture. written in golang.

Stack used - grpc, protobuf, docker, go-micro, Makefile, docker-compose, mongodb, postgresql.

Microservices

Container management system,

  • consignments
  • users & authentication
  • vessels
  • client cli

Docker Build

  1. Build all the microservices using make file in respective dir
    make build
  2. Then Build docker with docker-compose
    docker-compose build
  3. Run all the microservices using docker-compose
    docker-compose up 

Build Info

  • To build inside gopath use GO111MODULE=on environment variable; to build outside gopath unset GO111MODULE or set to GO111MODULE=auto.
  • To run on alpine linux container build go-binary with CGO_ENABLED=0 flag set.

Reference

About

Sample gRPC based Microservice project

Resources

Stars

Watchers

Forks

Releases

No releases published