fiber-rest-boilerplate
golang REST API boilerplate with supports for postgres, mariadb, sqlite & mongodb
dockergolangcmspostgresboilerplatemongodbrest-apisqlitemariadbfibercrud-apirest-boilerplate
FreeRepo
Overview
This is a Go REST API boilerplate using Fiber framework with HTMX web templates, supporting multiple databases (PostgreSQL, SQLite, MariaDB, MongoDB) through raw SQL queries. It provides pre-built CRUD modules following a Controller-Service-Repository pattern, JWT authentication, Docker deployment, database migrations and includes example features like user management, todos and file uploads with Tailwind CSS and Alpine.js for the frontend.
Features
crud-apisfilteringsortingpaginationjwt-authenticationfile-uploadshtmx-templatesswagger-documentationdatabase-migrationsmulti-database-supportcontroller-service-repository-patternmodule-generation-scripthot-reloadlogging-middlewareform-data-handling
Feature Flags
userDashboardauthenticationblogemailsseofileUploadsauthorizationteamsOrgssearchcmsnotificationsapiDocscachingformsValidationlogging
Recommended Use Cases
rest-api-developmentrapid-prototypinglearning-golangcrud-applicationsweb-applications-with-htmx
Frontend
htmxalpinejstailwindcss
Backend
fibergolang
Auth Providers
jwt
Deployment Targets
dockerlocalhost
Payment Providers
None
Quick Facts
Stack
Framework
fiber
Language
golang
CSS
tailwindcss
Database
postgresql, mariadb, sqlite, mongodb
Auth
jwt
Testing
go-test
Monitoring
signoz
Logging
zap
Data Layer
Databases
postgresql, mysql, sqlite, mongodb, redis, mariadb
UI Stack
Styling
tailwindcss
Components
htmx
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
Pricing
Classification
free
Selected
โ
Notes
Open source boilerplate repository