{"repo":"nguyentuan1696/go-api-starter","free":true,"listed":false,"github":"https://github.com/nguyentuan1696/go-api-starter","clone":"git clone https://github.com/nguyentuan1696/go-api-starter.git","description":null,"language":"Go","stars":52,"topics":["echo","golang","postgres","redis","template","kafka","microservice","dependency-injection"],"license":null,"category":"databases-storage","readme_excerpt":"Go API Starter A modern, production-ready Go API backend built with clean architecture principles and modular design. This project serves as a comprehensive starter template for building scalable web APIs with authentication, file storage, and business logic modules. Overview Go API Starter is a solid foundation for building high-performance, scalable web APIs using Go . It follows Clean Architecture and Modular Design principles to ensure code maintainability, testability, and scalability. This template comes pre-configured with essential components like Authentication, Database (PostgreSQL), Caching (Redis), and a robust CLI, allowing developers to focus on business logic immediately. Key Features - Modular Architecture : Business logic is separated into independent modules (e.g., auth , workers ) with clear boundaries. - Clean Architecture : Strict separation of concerns (Entities, Repositories, Services, Handlers). - Authentication : Built-in user registration, login, and management flow. - Dependency Injection : Uses samber/do for lightweight and explicit dependency management. - Database & Caching : Pre-configured PostgreSQL (pgx) and Redis client. - CLI Support : Integrated spf13/cobra for running administrative tasks and background workers. - Observability : Structured logging with rs/zerolog . - Utilities : Helper functions for email, OTP, validation, passwords, and more. Tech Stack - Language : Go 1.24+ - Framework : Echo v4 - Database : PostgreSQL (Driver: pgx/v5 )","default_branch":null,"files":null,"tree":[],"storefront":"/r/nguyentuan1696","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nguyentuan1696/go-api-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."}