{"repo":"liiijz/gin-boilerplate","free":true,"listed":false,"github":"https://github.com/liiijz/gin-boilerplate","clone":"git clone https://github.com/liiijz/gin-boilerplate.git","description":"⚡Fast-start scaffold for Gin Framework APIs. Includes MySQL, Redis-powered JWT auth, and a well-structured architecture to launch your Go projects quickly.","language":"Go","stars":44,"topics":["authentication","boilerplate","gin","gin-gonic","golang","jwt","middleware","mvc","mysql","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"Gin Boilerplate English 简体中文 A production-ready Go web application boilerplate built with Gin + GORM, featuring best practices and clean architecture. ✨ Features - 🚀 Complete Project Structure - Clean layered architecture (Controller, Service, Model, Router) - 🔐 JWT Authentication - Complete user authentication system - ⚙️ Multi-Environment Config - Support for development, production, and more (Viper-based) - 🗄️ Database ORM - GORM with auto-migration support - 🔒 Password Encryption - Bcrypt password hashing - 📝 Logging Middleware - Request logging - 🌐 CORS Support - Cross-Origin Resource Sharing middleware - 📦 Unified Response Format - Standardized API response structure - 🎨 Startup Banner - Spring Boot-style startup banner - 🧪 API Test Scripts - Multiple testing script options - 🧩 Plugin System - Modular plugin architecture for extensibility 📁 Project Structure 🚀 Quick Start Option 1: Docker Deployment (Recommended) Requirements - Docker - MySQL (external or separate container) Steps 1. Clone the project 2. Configure production settings Edit config/production.yaml to match your database configuration: 3. Build Docker image 4. Run container 5. Check logs 6. Stop container The service runs on http://localhost:8080 by default. Option 2: Local Development Requirements - Go 1.19+ - MySQL 5.7+ Steps 1. Clone the Project 2. Install Dependencies 3. Database Setup Initialize Database Configure Database Connection Edit config/development.yaml : 4. Run the Application Dev","default_branch":null,"files":null,"tree":[],"storefront":"/r/liiijz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/liiijz/gin-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}