Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Fiber
  3. fiber-boilerplate

fiber-boilerplate

MITGov0.1.2

A production-ready boilerplate for building web applications with the Fiber framework in Go.

GitHubGitHub
285 stars42 forks0 contributors

What is fiber-boilerplate?

Fiber Boilerplate is a starter template for building web applications with the Fiber framework in Go. It provides a pre-configured project structure with environment management, database integration, asset compilation, and development tools to streamline the setup process. The boilerplate solves the problem of repetitive configuration by offering a production-ready foundation that developers can customize.

Target Audience

Go developers who want to quickly start building web applications with the Fiber framework without spending time on initial setup and configuration. It's also suitable for teams looking for a standardized project structure.

Value Proposition

Developers choose Fiber Boilerplate because it combines the performance of Fiber with practical tools like GORM, Docker, and Webpack in a single package. Its modular design and comprehensive documentation allow for easy customization while maintaining best practices.

Overview

A boilerplate for the Fiber web framework

Use Cases

Best For

  • Quickly starting new Fiber-based web applications
  • Teams needing a standardized Go project structure
  • Projects requiring integrated database management with GORM
  • Applications that need JavaScript/CSS asset bundling with Webpack
  • Developing with live reload capabilities using Air
  • Deploying containerized Go applications with Docker

Not Ideal For

  • Projects requiring only a lightweight API without JavaScript/CSS asset management
  • Teams already committed to a different ORM like SQLBoiler or raw SQL
  • Developers preferring minimal dependencies and avoiding frontend build tools

Pros & Cons

Pros

Centralized Environment Config

Uses a single .env file for all settings, including database and middleware, with Docker compatibility, simplifying configuration management as highlighted in the README.

Organized Project Structure

Pre-configured directories for routes, views, controllers, and models provide a clear layout that accelerates development and maintains consistency, following a structured architecture.

Integrated Asset Pipeline

Leverages Laravel Mix and Webpack for bundling and optimizing JavaScript and CSS assets, with commands for development, production, and hot reloading, streamlining frontend workflows.

Development Tooling Included

Comes with Air for live reloading and Docker support, enhancing productivity during development and easing containerized deployment, as detailed in the README.

Cons

Frontend Build Complexity

Requires npm/yarn and Webpack configuration for asset compilation, adding overhead and a learning curve for backend-focused Go developers unfamiliar with frontend tooling.

Opinionated Technology Choices

Locked into GORM for ORM and specific directory structures, limiting flexibility for teams with different preferences or projects needing custom setups.

Docker Setup Assumptions

The Docker example uses host.docker.internal for networking, which may not work out-of-the-box on all systems, requiring manual adjustments as noted in the README.

Frequently Asked Questions

Quick Stats

Stars285
Forks42
Contributors0
Open Issues4
Last commit3 years ago
CreatedSince 2020

Tags

#fiber-framework#boilerplate#live-reload#docker#gorm#backend#go#web-application#webpack

Built With

G
Go
F
Fiber
G
GORM
A
Air
D
Docker
W
Webpack

Included in

Fiber801
Auto-fetched 1 day ago

Related Projects

fiber-go-templatefiber-go-template

📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.

Stars1,109
Forks152
Last commit1 month ago
boilerplateboilerplate

🚧 Boilerplate for 🚀 Fiber

Stars502
Forks85
Last commit2 days ago
fiber-boilerplatefiber-boilerplate

This is the go boilerplate on the top of fiber web framework. With simple setup you can use many features out of the box

Stars433
Forks52
Last commit8 months ago
gofiber-templategofiber-template

A production-ready, container-first opinionated gofiber project template. Config by envvars, DI by go.uber.org/fx, Database by uptrace/bun, with out-of-the-box MVC folder structure and CI/CD support.

Stars132
Forks6
Last commit9 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub