{"repo":"NikSchaefer/gofiber-boilerplate","free":true,"listed":false,"github":"https://github.com/NikSchaefer/gofiber-boilerplate","clone":"git clone https://github.com/NikSchaefer/gofiber-boilerplate.git","description":"🚀 Production-ready Go REST API boilerplate with Fiber, Ent, Postgres, OAuth, OTP auth, email/SMS, & query-safe ORM.","language":"Go","stars":123,"topics":["golang","go-fiber","gorm","postgresql","docker"],"license":"MIT","category":"databases-storage","readme_excerpt":"🚀 Go Fiber Boilerplate A modern, production-ready Go REST API boilerplate built with Fiber, Ent ORM, and PostgreSQL. ✨ Features - Authentication & Authorization - JWT-based sessions with OAuth support - Email & SMS Integration - Resend and Twilio integration - Analytics - PostHog integration for user analytics - Database - PostgreSQL with Ent ORM for type-safe queries - Docker Support - Multi-stage Docker builds - Security - CORS, security headers, input validation - OTP Authentication - One-time password support - Production Ready - Graceful shutdown, proper error handling 🏗️ Architecture 🚀 Quick Start Prerequisites - Go 1.24.2 or higher - PostgreSQL 12 or higher - Docker (optional) 1. Clone the Repository 2. Install Dependencies 3. Set Up Environment Variables Create a .env file in the root directory: Configure your environment variables: 4. Set Up Database Option A: Using Docker (Recommended) Option B: Local PostgreSQL Make sure PostgreSQL is running and create a database: 5. Run the Application The server will start on http://localhost:8000 🐳 Docker Deployment Build and Run with Docker 📚 API Documentation Authentication Endpoints User Registration Password Login OTP Login Request OTP Verification Logout User Management Get Current User Update User Profile Change Password OAuth Integration Google OAuth 🔧 Configuration Environment Variables Variable Description Default Required ---------------------- ---------------------------- --------------------- -------- DATABASE","default_branch":null,"files":null,"tree":[],"storefront":"/r/NikSchaefer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NikSchaefer/gofiber-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."}