Initial scaffolding for Go rest API development using gin-gonic. Starter template for building your Go and Go Rest api applications.
- Database setup for GORM models
- JWT authentication
- Routing
- Test environment setup
- Support for multiple RDBMs
This App was developed with the following stack:
- Golang
- Gin-Gonic Framework
- GORM
- go v1.14+
- gin-gonic v1.6+
- gorm v1.9+
- fork this repository
- create .env file as shown in the .env_example file
- setup your database
- on the terminal cd into the app folder
- run
go install
to install required modules
- run
go run <the-app-folder>
src/models
holds your models modulesrc/controllers
holds your controller filessrc/repository
holds your repository filessrc/routes/api
contains your route definitions- Happy usage.
- MIT
- Bracketcore Ltd
- solnsumei@gmail.com