Skip to content

locmai/first-micro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My First Micro Project

A demonstration using Go Micro framework

Description

TBD

Prerequisites

Required packages and tools

  • Golang 1.12
  • Make
  • PostgreSQL server
  • Consul registry
  • NATS server

Configurations

Using .env file for each environment.

Project structure

.
└── root //general configurations and scripts
    ├── deployments  //continuous integrations, deployments
    ├── packages //shared packages,libs
    └── services //minimal services

Quick start

At root directory

make example

At each service direcotry:

make proto
make build
./<service_name>

or

make proto
go run main.go

To-do list

Features:

  • Blog service
  • JWT authentication
  • Common libs
  • API Gateway
  • Goal tracking service
  • Subscription service

CI/CD:

  • Build pipeline
  • Deploy pipeline
  • App configuration script

About

My first Micro project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published