๐ณ Recipes for Fiber
Welcome to the official Fiber cookbook !
Here you can find the most delicious recipes to cook delicious meals using our web framework.
๐ฝ Table of contents
404 Handler - Custom 404 error page handling.
Air Live Reloading - Live reloading for Go applications.
Asynq - Enqueue background jobs from Fiber and process them with an Asynq worker.
Auth + Docker + Postgres + JWT - Authentication with Docker, Postgres, and JWT.
Auth + JWT - Simple JWT authentication.
Autocert - Automatic TLS certificate management.
AWS Elastic Beanstalk - Deploying to AWS Elastic Beanstalk.
AWS SAM Container - Containerized serverless applications with AWS SAM.
AWS SES Email Sender - AWS SES-based Golang email delivery service. Provides email dispatch processing, status tracking, scheduled sending, and result analysis capabilities.
Bootstrap - Integrating Bootstrap.
Clean Architecture - Implementing clean architecture in Go.
Clean Code - Implementing clean code in Go.
Cloud Run - Deploying to Google Cloud Run.
Cloudflare Container Workers with Go Fiber - Run a Go Fiber v3 app in a Cloudflare Container Worker with a Worker proxy.
Colly Gorm - Web scraping with Colly and GORM.
CSRF - Cross-Site Request Forgery (CSRF) protection.
CSRF + Session - Cross-Site Request Forgery (CSRF) protection with session management.
Docker + MariaDB - Dockerized MariaDB with Clean Architecture.
Docker + Nginx - Load balancing with Docker and Nginx.
Dummy JSON Proxy - Proxying dummy JSON data.
Email Verification Service - Email verification service with code generation and validation
Entgo ORM (MySQL) - Using Entgo ORM with MySQL
Entgo Sveltekit - A full-stack Todo application built using Sveltekit, Tailwind CSS, Entgo, and SQLite.
Envoy External Authorization - External authorization with Envoy.
File Server - Serving static files.
Firebase Authentication - Firebase authentication integration.
Firebase Functions - Using Firebase Functions.
Form Data - Parsing application/x-www-form-urlencoded bodies into structs, slices and maps.
Firebase GCloud - Integrating Firebase with Google Cloud.
Google Cloud Firebase - Firebase services on Google Cloud.
GeoIP - Geolocation using ip-api.com.
GeoIP + MaxMind - Geolocation with GeoIP and MaxMind databases.
GORM - Using GORM with SQLite database.
GORM MySQL - Using GORM with MySQL database.
GORM + PostgreSQL - Using GORM with PostgreSQL database.
Graceful shutdown - Graceful shutdown of applications.
GraphQL - Setting up a GraphQL server.
gRPC - Using Fiber as a client to a gRPC server.
Hello World - A simple "Hello, World!" application.
Heroku - Deploying to Heroku.
Hexagonal Architecture - A Hexagonal Software Architecture in Golang and MongoDB.
HTTPS with PKCS12 TLS - Setting up an HTTPS server with PKCS12 TLS certificates.
HTTPS with TLS - Setting up an HTTPS server with self-signed TLS certificates.
I18n - Internationalization support.
JWT - Using JSON Web Tokens (JWT) for authentication.
Kubernetes - Deploying applications to Kubernetes.
Todo App + Auth + GORM + Testcontainers - A Todo application with authentication using GORM and Postgres.
Memgraph - Using Memgraph.
MinIO - A simple application for uploading and downloading files from MinIO.
MongoDB - Connecting to a MongoDB database.
Monitoring with Apitally - A simple REST API with monitoring and request logging using Apitally.
Multiple Ports - Running an application on multiple ports.
MySQL - Connecting to a MySQL database.
Neo4j - Connecting to a Neo4j database.
OAuth2 - Implementing GitHub OAuth2 authentication with GoFiber.
Google OAuth2 - Implementing Google OAuth2 authentication.
OpenAPI - Generate OpenAPI 3 documentation and JSON schema for your application.
Optional Parameter - Handling optional parameters.
Parsley - Using Parsley for dependency injection in an application.
PostgreSQL - Connecting to a PostgreSQL database.
Prefork - Running an application in prefork mode.
RabbitMQ - Using RabbitMQ with Fiber to publish messages to a queue.
React - Using React.
Recover Middleware - Recover middleware for error handling.
RSS Feed - Generating an RSS feed.
Seenode - Deploying to Seenode cloud platform.
Server Timing - Adding Server Timing headers to an application.
Sessions + SQLite3 - Using SQLite3 as a storage engine for user sessions.
Socketio - A chatroom application using Socket.IO.
Single Page Application (SPA) - Setting up a Single Page Application (SPA) using React for the frontend and Go for the backend.
Sqlboiler - Using Sqlboiler ORM.
Sqlc - Using Sqlc to generate Go code from SQL queries.
Server-Sent Events - Implementing Server-Sent Events in an application.
Stream Request Body - Streaming request bodies.
Svelte Netlify - Deploying a Svelte + Fiber application on Netlify.
Sveltekit Embed - A full-stack application built using Sveltekit and Tailwind CSS.
Swagger - Generate Swagger documentation for your application.
Tableflip Example - Use tableflip for graceful upgrades in a Go application.
Template - Setting up a Go application with template rendering.
Template Asset Bundling - Setting up a Go application with template rendering and asset bundling.
Todo App + Auth + GORM - A Todo application with authentication using GORM.
Unit Testing - Writing unit tests for a Go Fiber application.
File Upload - Handling file uploads in a Go application.
URL Shortener - URL shortening service with a simple API.
Validation - Input validation using go-playground/validator.
Vercel - Deploy a Go application to Vercel.
WebSocket - Real-time communication application using WebSockets.
WebSocket Chat - Real-time chat application using WebSockets.
๐ฉโ๐ณ Have a delicious recipe?
If you have found an amazing recipe for Fiber โ share it with others!
We are ready to accept your PR and add your recipe to the cookbook (both on website and this repository).
โ Supporters
Fiber is an open-source project that runs on donations to pay the bills, e.g., our domain name, hosting, and serverless infrastructure. If you want to support Fiber, please become a GitHub Sponsor .
Tool Sponsors - supporting Fiber with free IDE licenses and AI credits
ย
ย
๐ฅ Fiber Guardian โ Fiber Supporter ๐ชด Fiber Friend
๐ Fiber Hero ๐ชด Fiber Friend