gin-boilerplate
⚡Fast-start scaffold for Gin Framework APIs. Includes MySQL, Redis-powered JWT auth and a well-structured architecture to launch your Go projects quickly.
mysqlredisgolangtemplatemiddlewareboilerplatejwtmvcauthenticationginrestful-apigin-gonic
FreeRepo
Overview
This is a production-ready Go web application boilerplate built with Gin framework and GORM database library, designed for building RESTful APIs with clean layered architecture. It includes JWT authentication, multi-environment configuration, database migrations, middleware for logging and CORS, password encryption, a plugin system for extensibility and Docker deployment support, making it suitable for rapid development of scalable backend services.
Features
jwt-authenticationuser-registrationuser-loginpassword-encryptioncors-supportrequest-loggingmulti-environment-configauto-migrationplugin-systemstandardized-response-formathealth-checkstartup-banner
Feature Flags
authenticationblogemailsecommerceauthorizationloggingErrorTrackingapiDocscachingrateLimiting
Recommended Use Cases
rest-api-developmentmicroservicesbackend-scaffoldingrapid-prototyping
Frontend
None
Backend
gingormviperjwt-gobcrypt
Auth Providers
jwt
Deployment Targets
dockerlocal
Payment Providers
None
Quick Facts
Stack
Framework
gin
Language
go
Database
mysql
Auth
jwt
ORM
gorm
Testing
http-client
Data Layer
Databases
mysql, redis
ORM
gorm
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
Pricing
Classification
free
Selected
—
Notes
Open source MIT licensed project