dotwoo / hexagony

Clean architecture example in Golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexagony Records

build Coverage Status Go Report Card GitHub license

Hexagony name was taken from one of the Hate's songs. Hate is a death metal band from Poland.

Running

First rename the .env_example file to .env and fill the variables if you want.

Next, make sure you have Docker and Docker Compose installed and then run the following command:

$ docker-compose up --build

Or in Detached Mode:

$ docker-compose up -d --build 

Then, check the app up and running: http://localhost:8000.

Documentation

Access: http://localhost:8000/docs/index.html

Generate doc:

$ swag init -g .\cmd\hexagony\main.go

Schema

Download the schema inside the folder api/insomnia-schema and import in your Insomnia application or another request tool.

Contributing

Feel free to send pull requests, let's improve this project.

License

MIT

About

Clean architecture example in Golang.

License:MIT License


Languages

Language:Go 99.3%Language:Dockerfile 0.7%