Back to Trending
RepositoryGoBDBangladesh
hrshadhin

hrshadhin/fiber-go-boilerplate

🚀 Production-ready Golang based boilerplate application with Fiber web framework

101stars
36forks
0issues
1views

🚀 Fiber Go Boilerplate: Production-Ready REST API Starter

A high-performance, zero-memory-allocation Go web framework template designed to get your REST API running in minutes with best practices baked in.

Fiber Go Boilerplate is a production-ready Golang application template built on top of the Fiber web framework, which is an Express.js-inspired framework built on the ultra-fast Fasthttp engine. Created by hrshadhin, this project provides a clean, modular architecture that helps developers quickly scaffold and deploy robust REST APIs without worrying about project structure or configuration overhead. It solves the common pain point of setting up a Go web project from scratch by providing a ready-to-use layout with business logic, platform-level code, and configuration clearly separated.

✨ Highlights

  • Layered Project Structure: Organizes code into clear separation of concerns with /app for business logic, /cmd for executables, /pkg for project-specific packages, and /platform for database and logger setup.
  • Fiber Web Framework: Built on Fasthttp, the fastest HTTP engine for Go, ensuring high performance and zero memory allocation for fast development.
  • JWT Authentication: Securely handles user authentication using JWT (JSON Web Tokens) with configurable expiration times.
  • Auto-Generated Swagger Docs: Integrates Swagger tools to automatically generate API documentation, accessible via /swagger/ for easy API exploration and testing.
  • Database Migration & Seeding: Uses golang-migrate for database schema management and includes seed scripts for rapid demo data setup.
  • Dockerized Setup: Comes with Docker configuration, allowing you to run the entire stack with a simple make docker.run command.

💡 Why it matters

Fiber Go Boilerplate offers a pragmatic starting point for Go developers who want to build scalable web services without the overhead of designing a project architecture from scratch. Its clear separation of business logic (/app), project-specific code (/pkg), and platform-level infrastructure (/platform) enforces a clean codebase that is easy to navigate and maintain. By including essential tools like Swagger for documentation, JWT for security, and Docker for containerized development, it removes the initial setup friction and lets developers focus on writing business logic immediately. It is best suited for developers looking for a fast, production-ready Go REST API template that adheres to modern Go project conventions.


#Go #Fiber #RESTAPI #Boilerplate #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
gofiber/fiber

⚡️ Express inspired web framework written in Go

40.4k
Dec 1, 2026
RepositoryGo
emarifer/gofiber-templ-htmx

Go/Fiber🧬+</>Templ to-do list app with user login and HTMx-powered frontend.

142
Jul 7, 2024
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

197.2k
Dec 2, 2026
RepositoryGo
ollama/ollama

Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

188.9k
Dec 2, 2026
RepositoryGo
golang/go

The Go programming language

140.0k
Dec 1, 2026
RepositoryGo
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k
Nov 26, 2026
RepositoryGo
traefik/traefik

The Cloud Native Application Proxy

65.9k
Dec 2, 2026
RepositoryGo
rclone/rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

61.4k
Nov 27, 2026
RepositoryGo
go-gitea/gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

59.4k
Dec 1, 2026