Skip to content

Clean architecture example in Golang.

License

Notifications You must be signed in to change notification settings

williamscalado/hexagony

 
 

Repository files navigation

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/server/main.go

Schema

Download the schema inside docs folder and import in your Insomnia application or another request tool. You need to specify Authorization header along with the Bearer token.

Generate Token

Use the following credentials:

User: john@doe.com

Pass: 12345678

Contributing

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

License

MIT

About

Clean architecture example in Golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.7%
  • Dockerfile 0.3%