API Boilerplate using GIN Framework, Swagger, Redis and PostgreSQL
This API boilerplate requires Golang v17+ to run.
Install the dependencies and devDependencies and start the server.
go mod tidy
go install
make migrate-db
You need sqlc to generate more queries that you'll need.
make generate-sql
For dev development...
go run main.go
SwaggerGo
Plugin | README |
---|---|
Swaggo | [https://github.com/swaggo/swag][pldb] |
Sqlc | [https://github.com/kyleconroy/sqlc][plgh] |
Todo
Todo
MIT