{"repo":"Caknoooo/go-gin-clean-starter","free":true,"listed":false,"github":"https://github.com/Caknoooo/go-gin-clean-starter","clone":"git clone https://github.com/Caknoooo/go-gin-clean-starter.git","description":"⭐ A simple backend implementation of CSR (Controller-Service-Repository) using Gin/Gorm with Dependency Injection, JWT Authentication, and Hot Auto Reload","language":"Go","stars":227,"topics":["clean-architecture","gin-gonic","golang-application","gorm","postgresql","template","docker","docker-compose","docker-golang","docker-images"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Golang Gin Clean Starter You can join in the development (Open Source). Let's Go!!! Introduction 👋 This project implements Clean Architecture principles with the Controller–Service–Repository pattern. This approach emphasizes clear separation of responsibilities across different layers in Golang applications. The architecture helps keep the codebase clean, testable, and scalable by dividing application logic into distinct modules with well-defined boundaries. Quick Start 🚀 Prerequisites - Go Version = go 1.20 - PostgreSQL Version = version 15.0 Installation 1. Clone the repository or Use This Template 2. Navigate to the project directory: 3. Copy the example environment file and configure it: 4. Install dependencies: Running the Application 🏃‍♂️ There are two ways to run the application: Option 1: With Docker 1. Configure .env with your PostgreSQL credentials: 2. Build and start Docker containers: 3. Run migrations and seeders: 4. The application will be available at http://localhost: Docker Migration Commands: Option 2: Without Docker 1. Configure .env with your PostgreSQL credentials: 2. Run the application: Available Make Commands 🚀 The project includes a comprehensive Makefile with the following commands: Development Commands Migration Commands Migration Examples: Note: When creating a migration with format create table , the system will automatically: - Create the entity file in database/entities/ - Add the entity to the migration file - Add the entity to database/mi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Caknoooo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Caknoooo/go-gin-clean-starter/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."}