go-fiber-boilerplate

A boilerplate for building RESTful APIs using Golang, Fiber and GORM PostgreSQL

gogolangboilerplateexpressrest-apipostgresqlstartergormfiberhacktoberfestboilerplate-applicationtestify
FreeRepo

Preview

go-fiber-boilerplate preview

Overview

This Go boilerplate helps developers ship fast with RESTful APIs using Fiber, PostgreSQL and Gorm, including built-in features like JWT and OAuth2 authentication, request validation, testing, Docker support and API documentation. It provides a structured project layout with controllers, services and models, along with database migrations, error handling, logging and security middleware to reduce setup time for production-ready applications.

Features

jwt-authenticationgoogle-oauth2request-validationunit-testsintegration-testsdocker-supportapi-documentationpaginationdatabase-migrationsemail-sendingerror-handlingloggingcorsgzip-compressionsecurity-headersrole-based-authorization

Feature Flags

authenticationblogemailsecommerceauthorizationapiDocsloggingerrorTrackingcors

Recommended Use Cases

rest-api-developmentbackend-starter-projectmicroservices

Frontend

None

Backend

gofiber

Auth Providers

jwtgoogle-oauth2

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
200
๐Ÿด Forks
38
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2024-10-26T01:42:10Z

Stack

Framework
fiber
Language
go
Database
postgresql
ORM
gorm
Testing
testify

Data Layer

Databases
postgresql
ORM
gorm

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
No clear pricing signals
Get Started with this Boilerplate