{"repo":"chuanghiduoc/fiber-golang-boilerplate","free":true,"listed":false,"github":"https://github.com/chuanghiduoc/fiber-golang-boilerplate","clone":"git clone https://github.com/chuanghiduoc/fiber-golang-boilerplate.git","description":"Production-ready REST API boilerplate built with Go Fiber v3, PostgreSQL, sqlc, JWT auth, Google OAuth, file uploads (S3/MinIO), Redis cache, Swagger docs, Prometheus metrics, and Docker.","language":"Go","stars":10,"topics":["boilerplate","docker","fiber","go","golang","jwt","minio","oauth2","postgresql","prometheus"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Production-ready REST API boilerplate built with Go Fiber v3, PostgreSQL, and sqlc. Tech Stack - Framework : Fiber v3 (Go 1.25+) - Database : PostgreSQL 17 with pgxpool - Query : sqlc (type-safe SQL code generation) - Migration : golang-migrate (auto-run on startup) - Auth : JWT (golang-jwt) + Google OAuth 2.0 - Validation : go-playground/validator - Logging : slog (stdlib structured logging) - Docs : Swagger/OpenAPI via swaggo - Linter : golangci-lint v2 - Cache : In-memory or Redis - Storage : Local filesystem or S3/MinIO - Email : SMTP or console (dev) - Metrics : Prometheus - Container : Docker + Docker Compose Architecture Request flow: Client → Middleware → Handler → Service → Repository → sqlc → PostgreSQL Quick Start 1. Create your project Click \"Use this template\" on GitHub, then: 2. Run With Docker (recommended): Services: API (:8080), PostgreSQL (:5432), Redis (:6379), MinIO (:9000/:9001) Without Docker (requires Go 1.25+, PostgreSQL): The app auto-runs migrations and seeds an admin user on startup. API Endpoints Auth (public) Method Path Description -------- ------ ------------- POST /api/v1/auth/register Register new user POST /api/v1/auth/login Login, returns JWT + refresh token POST /api/v1/auth/refresh Refresh access token POST /api/v1/auth/logout Revoke refresh token POST /api/v1/auth/forgot-password Request password reset email POST /api/v1/auth/reset-password Reset password with token POST /api/v1/auth/verify-email Verify email with token POST /api/v1/auth/","default_branch":null,"files":null,"tree":[],"storefront":"/r/chuanghiduoc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chuanghiduoc/fiber-golang-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."}