ugin
UGin is an API boilerplate written in Go (Golang) with Gin Framework.
mysqlapipostgresboilerplatesqliteexamplevipergingormgin-gonic
FreeRepo
Overview
UGin is a production-ready REST API boilerplate written in Go using the Gin framework, featuring JWT authentication, GORM ORM for multi-database support (SQLite, MySQL, PostgreSQL), comprehensive middleware including CORS and rate limiting, structured logging and interactive Swagger documentation.
Features
jwt-authenticationrest-apiswagger-openapigzip-compressionrate-limitingcorsgraceful-shutdownhot-reloadpaginationfilteringsearchstructured-loggingcontext-propagationdependency-injection
Feature Flags
userDashboardauthenticationblogemailspaymentsecommerceauthorizationloggingErrorTrackingsearchnotificationsapiDocsrateLimitingloggingpagination
Recommended Use Cases
rest-api-developmentmicroservicesbackend-apiproduction-ready-applications
Frontend
None
Backend
gogingorm
Auth Providers
jwt
Deployment Targets
dockerstandalone
Payment Providers
None
Stack
Framework
gin
Language
go
Database
sqlite, mysql, postgresql
ORM
gorm
Testing
go-test
Logging
logrus
Data Layer
Databases
postgresql, mysql, sqlite
ORM
gorm
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
Pricing
Classification
free
Selected
โ
Notes
Open source project with MIT license