A simple REST API boilerplate for Go
This project has the following features:
- Fast routing with Gin
- JWT middleware Included
- User authentication routes added
- GORM, Go ORM added with support for multiple databases
- Secure route authorization using user roles
- Simple project structure
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
go get ...
go run main.go
Go environment must be setup.