Skip to content

An implementation of clean architecture with Go/Golang

Notifications You must be signed in to change notification settings

grootkng/clean-arch-golang

Repository files navigation

Clean Arch Golang

How to run

Requirements

  • docker
  • docker-compose
  • make

Step by step

Open your terminal and type it:

docker compose up -d

# or when you already have the database setup
make app

To run test:

# when you already have the database setup
go test github.com/grootkng/clean-arch-golang/tests 

# or
make test

To generate new version swagger:

swag init -g cmd/api/main.go

To access swagger: http://localhost:8080/swagger/index.html

And after that, the application should be running at localhost:8080
Check here the insomnia collection for the endpoints

swagger

About

An implementation of clean architecture with Go/Golang

Topics

Resources

Stars

Watchers

Forks

Languages