/go-architecture-monorepo

Started rest API with clean architecture monorepo golang

Primary LanguageGoMIT LicenseMIT

Go Architecture Monorepo

Started rest API with clean architecture monorepo golang

Table of Contents

Required

  1. Golang v1.18.1 or above
  2. MongoDB
  3. Buf to generate protobuf grpc

Installation

  1. copy environment by services cp .env.example .env
  2. sync go modules go mod tidy
  3. Run sh run-service.sh service-name

With Docker

  1. Build for all services docker-compose build
  2. Run docker docker-compose up -d
  3. See docker running docker ps

Port HTTP and RPC Services

Service Name Port HTTP Port RPC
auth 8083 9083
user 8084 9084