Muhammad Zulfan Wahyudin
Back to Projects
Open Source Project Source

Boilerplate Go Fiber

API boilerplate built with Go and Fiber for production-ready services.

Overview

Includes env-based configuration, Logrus JSON logging, security middleware, and graceful shutdown. It ships with Redis and Postgres integrations, JWT auth with refresh tokens, RBAC endpoints, optional Swagger docs, and OpenTelemetry-based observability.

GoFiberRedisPostgresJWTOpenTelemetry

Key Points

Configuration

Environment-driven config with sensible defaults and timeouts for local and production runs.

Logging

Structured Logrus JSON logging with request IDs and panic recovery built in.

Security

Security headers, CORS control, and rate-limited auth flows with lockout protection.

Auth + RBAC

JWT access and refresh tokens plus user, role, and permission APIs.

Observability

Optional Swagger docs, metrics endpoint, and OpenTelemetry tracing exports.

GoFiberAPIBoilerplate

Gallery

Screenshot placeholder
Screenshot placeholder