[go: up one dir, main page]

Skip to content

dimaunx/go-clean-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple golang CLEAN architecture implementation

Go Report Card

Prerequisites


NOTE!

On MAC M1/Intel chip requires brew and GNU MAKE upgrade

Brew install if not installed already

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

GNU make upgrade

brew install make
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" # Add to .bashrc or .zshrc
make -version # Should be higher then 3.8.1

List targets and help

make help

Run vendor

make vendor

Run linter locally

make lint

Run server locally

make run

Cleanup

make cleanup

Endpoints:

server - http://localhost:8000

Auth: Header: X-Api-Key test

redis-commander - http://localhost:8903

mongo-express - http://localhost:8905

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published