Skip to content

Simple microservice template in Go with Clean Architecture

Notifications You must be signed in to change notification settings

iwanjunaid/basesvc

Repository files navigation

basesvc

Simple microservice template in Go with Clean Architecture

Run the Applications

Here is the steps to run it with docker-compose

# Move to directory
$ mkdir -p $GOPATH/src/github.com/iwanjunaid 
$ cd $GOPATH/src/github.com/iwanjunaid 

# Clone into YOUR $GOPATH/src
$ git clone https://github.com/iwanjunaid/basesvc.git

# Move to project
$ cd basesvc

# Setup config and edit config 
$ make setup

# run the application in development env
$ make dev

# or run the application in production env
$ make prod

# check if the containers are running
$ docker ps

# Execute the call
$ curl http://localhost:8080/authors

# Stop
$ make stop

About

Simple microservice template in Go with Clean Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •