Template for a clean and simple API with Gin and GORM.
More information about Docker. To run the application type this command in the root folder.
$ docker compose up --build
You might have to run this command twice if it doesn't work the first time :)
To access swagger-ui go to localhost:8080/api/swagger/index.html
To generate new docs you need swag installed and added to PATH
. Then type this command in the root folder.
$ swag init --parseDependency