repositorypackage
0.0.0-20201222043859-1a51687f1cf3
Repository: https://github.com/iwanjunaid/basesvc.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
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