{"repo":"gbrayhan/microservices-go","free":true,"listed":false,"github":"https://github.com/gbrayhan/microservices-go","clone":"git clone https://github.com/gbrayhan/microservices-go.git","description":"Golang Microservice Boilerplate using PSQL, Docker and Cucumber, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.","language":"Go","stars":696,"topics":["microservices-architecture","golang-examples","boilerplate","boilerplate-go","boilerplate-microservice","rest-api","gin","go","boilerplate-golang","gorm"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Golang Microservices - Clean Architecture A production-ready microservices boilerplate built with Go, implementing Clean Architecture principles with comprehensive testing, security, and documentation. 🏗️ Architecture Overview Clean Architecture Layers Dependency Flow 🚀 Quick Start Prerequisites - Go 1.24.2+ - Docker & Docker Compose - PostgreSQL (via Docker) Installation Verify Installation 📋 Features Core Features - Clean Architecture : Fully implemented with dependency inversion - JWT Authentication : Secure token-based authentication - Structured Logging : Zap logger with correlation IDs - Comprehensive Testing : Unit, integration, and acceptance tests - API Documentation : Complete REST API documentation - Error Handling : Centralized error management - Validation : Request validation with custom rules - Search & Pagination : Advanced search capabilities Technical Stack - Framework : Gin-Gonic (HTTP router) - Database : PostgreSQL with GORM - Authentication : JWT with refresh tokens - Logging : Zap structured logger - Testing : Go testing + Cucumber integration tests - Documentation : Comprehensive API documentation - Containerization : Docker & Docker Compose - Code Quality : golangci-lint, CodeFactor, Codacy 🔧 Development Project Structure Available Commands 🔐 Authentication Flow Login Sequence Token Refresh Flow 📊 API Endpoints Authentication - POST /v1/auth/login - User login - POST /v1/auth/access-token - Refresh access token Users - GET /v1/user - Get all use","default_branch":null,"files":null,"tree":[],"storefront":"/r/gbrayhan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gbrayhan/microservices-go/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."}