go-clean-example

command module
v0.0.0-...-33d4506 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: MIT Imports: 5 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL