Skip to content

Commit 6dbfc60

Browse files
committed
docusaurus preparations
1 parent 0a7a4f8 commit 6dbfc60

File tree

81 files changed

+197
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+197
-98
lines changed

404-handler/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 404 Handler
33
keywords: [404, not found, handler, errorhandler, custom]
4+
description: Custom 404 error page handling.
45
---
56

67
# Custom 404 Not Found Handler Example

README.md

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: 👋 Overview
44
sidebar_position: 1
55
---
66

7-
# 🍳 Examples for [Fiber](https://github.com/gofiber/fiber)
7+
# 🍳 Recipes for [Fiber](https://github.com/gofiber/fiber)
88

99
**Welcome to the official Fiber cookbook**!
1010

@@ -13,85 +13,85 @@ Here you can find the most **delicious** recipes to cook delicious meals using o
1313
## 🌽 Table of contents
1414

1515
<!-- AUTO-GENERATED-CONTENT:START -->
16-
- [404 Handler](./404-handler/README.md)
17-
- [Air Live Reloading](./air/README.md)
18-
- [Auth + Docker + Postgres + JWT](./auth-docker-postgres-jwt/README.md)
19-
- [Auth + JWT](./auth-jwt/README.md)
20-
- [Autocert](./autocert/README.md)
21-
- [AWS Elastic Beanstalk](./aws-eb/README.md)
22-
- [AWS SAM](./aws-sam/README.md)
23-
- [AWS SAM Container](./aws-sam-container/README.md)
24-
- [Bootstrap](./bootstrap/README.md)
25-
- [Clean Architecture](./clean-architecture/README.md)
26-
- [Cloud Run](./cloud-run/README.md)
27-
- [Colly Gorm](./colly-gorm/README.md)
28-
- [CSRF](./csrf/README.md)
29-
- [CSRF + Session](./csrf-with-session/README.md)
30-
- [Docker + MariaDB](./docker-mariadb-clean-arch/README.md)
31-
- [Docker + Nginx](./docker-nginx-loadbalancer/README.md)
32-
- [Dummy JSON Proxy](./dummyjson/README.md)
33-
- [Entgo ORM (MySQL)](./ent-mysql/README.md)
34-
- [Entgo Sveltekit](./entgo-sveltekit/README.md)
35-
- [Envoy External Authorization](./envoy-extauthz/README.md)
36-
- [File Server](./file-server/README.md)
37-
- [Firebase Authentication](./firebase-auth/README.md)
38-
- [Firebase Functions](./firebase-functions/README.md)
39-
- [Firebase GCloud](./gcloud/README.md)
40-
- [Google Cloud Firebase](./gcloud-firebase/README.md)
41-
- [GeoIP](./geoip/README.md)
42-
- [GeoIP + MaxMind](./geoip-maxmind/README.md)
43-
- [GORM](./gorm/README.md)
44-
- [GORM MySQL](./gorm-mysql/README.md)
45-
- [GORM + PostgreSQL](./gorm-postgres/README.md)
46-
- [Graceful shutdown](./graceful-shutdown/README.md)
47-
- [GraphQL](./graphql/README.md)
48-
- [gRPC](./grpc/README.md)
49-
- [Hello World](./hello-world/README.md)
50-
- [Heroku](./heroku/README.md)
51-
- [Hexagonal Architecture](./hexagonal/README.md)
52-
- [HTTPS with PKCS12 TLS](./https-pkcs12-tls/README.md)
53-
- [HTTPS with TLS](./https-tls/README.md)
54-
- [I18n](./i18n/README.md)
55-
- [JWT](./jwt/README.md)
56-
- [Kubernetes](./k8s/README.md)
57-
- [Memgraph](./memgraph/README.md)
58-
- [MinIO](./minio/README.md)
59-
- [MongoDB Example](./mongodb/README.md)
60-
- [Multiple Ports](./multiple-ports/README.md)
61-
- [MySQL](./mysql/README.md)
62-
- [Neo4j](./neo4j/README.md)
63-
- [OAuth2](./oauth2/README.md)
64-
- [Google OAuth2](./oauth2-google/README.md)
65-
- [Optional Parameter Example](./optional-parameter/README.md)
66-
- [Parsley](./parsley/README.md)
67-
- [PostgreSQL](./postgresql/README.md)
68-
- [Prefork Example](./prefork/README.md)
69-
- [RabbitMQ](./rabbitmq/README.md)
70-
- [React](./react-router/README.md)
71-
- [Recover Middleware Example](./recover/README.md)
72-
- [RSS Feed](./rss-feed/README.md)
73-
- [Server Timing](./server-timing/README.md)
74-
- [Sessions + SQLite3](./sessions-sqlite3/README.md)
75-
- [Socketio](./socketio/README.md)
76-
- [Single Page Application (SPA)](./spa/README.md)
77-
- [Sqlboiler](./sqlboiler/README.md)
78-
- [Sqlc](./sqlc/README.md)
79-
- [Server-Sent Events](./sse/README.md)
80-
- [Stream Request Body](./stream-request-body/README.md)
81-
- [Svelte Netlify](./svelte-netlify/README.md)
82-
- [Sveltekit Embed](./sveltekit-embed/README.md)
83-
- [Swagger](./swagger/README.md)
84-
- [Tableflip Example](./tableflip/README.md)
85-
- [Template](./template/README.md)
86-
- [Template Asset Bundling](./template-asset-bundling/README.md)
87-
- [Todo App + Auth + GORM](./todo-app-with-auth-gorm/README.md)
88-
- [Unit Testing](./unit-test/README.md)
89-
- [File Upload](./upload-file/README.md)
90-
- [URL Shortener](./url-shortener-api/README.md)
91-
- [Validation](./validation/README.md)
92-
- [Vercel](./vercel/README.md)
93-
- [WebSocket](./websocket/README.md)
94-
- [WebSocket Chat](./websocket-chat/README.md)
16+
- [404 Handler](./404-handler/README.md) - Custom 404 error page handling.
17+
- [Air Live Reloading](./air/README.md) - Live reloading for Go applications.
18+
- [Auth + Docker + Postgres + JWT](./auth-docker-postgres-jwt/README.md) - Authentication with Docker, Postgres, and JWT.
19+
- [Auth + JWT](./auth-jwt/README.md) - Simple JWT authentication.
20+
- [Autocert](./autocert/README.md) - Automatic TLS certificate management.
21+
- [AWS Elastic Beanstalk](./aws-eb/README.md) - Deploying to AWS Elastic Beanstalk.
22+
- [AWS SAM](./aws-sam/README.md) - Serverless applications with AWS SAM.
23+
- [AWS SAM Container](./aws-sam-container/README.md) - Containerized serverless applications with AWS SAM.
24+
- [Bootstrap](./bootstrap/README.md) - Integrating Bootstrap.
25+
- [Clean Architecture](./clean-architecture/README.md) - Implementing clean architecture in Go.
26+
- [Cloud Run](./cloud-run/README.md) - Deploying to Google Cloud Run.
27+
- [Colly Gorm](./colly-gorm/README.md) - Web scraping with Colly and GORM.
28+
- [CSRF](./csrf/README.md) - Cross-Site Request Forgery (CSRF) protection.
29+
- [CSRF + Session](./csrf-with-session/README.md) - Cross-Site Request Forgery (CSRF) protection with session management.
30+
- [Docker + MariaDB](./docker-mariadb-clean-arch/README.md) - Dockerized MariaDB with Clean Architecture.
31+
- [Docker + Nginx](./docker-nginx-loadbalancer/README.md) - Load balancing with Docker and Nginx.
32+
- [Dummy JSON Proxy](./dummyjson/README.md) - Proxying dummy JSON data.
33+
- [Entgo ORM (MySQL)](./ent-mysql/README.md) - Using Entgo ORM with MySQL
34+
- [Entgo Sveltekit](./entgo-sveltekit/README.md) - A full-stack Todo application built using Sveltekit, Tailwind CSS, Entgo, and SQLite.
35+
- [Envoy External Authorization](./envoy-extauthz/README.md) - External authorization with Envoy.
36+
- [File Server](./file-server/README.md) - Serving static files.
37+
- [Firebase Authentication](./firebase-auth/README.md) - Firebase authentication integration.
38+
- [Firebase Functions](./firebase-functions/README.md) - Using Firebase Functions.
39+
- [Firebase GCloud](./gcloud/README.md) - Integrating Firebase with Google Cloud.
40+
- [Google Cloud Firebase](./gcloud-firebase/README.md) - Firebase services on Google Cloud.
41+
- [GeoIP](./geoip/README.md) - Geolocation with GeoIP.
42+
- [GeoIP + MaxMind](./geoip-maxmind/README.md) - Geolocation with GeoIP and MaxMind databases.
43+
- [GORM](./gorm/README.md) - Using GORM with SQLite database.
44+
- [GORM MySQL](./gorm-mysql/README.md) - Using GORM with MySQL database.
45+
- [GORM + PostgreSQL](./gorm-postgres/README.md) - Using GORM with PostgreSQL database.
46+
- [Graceful shutdown](./graceful-shutdown/README.md) - Graceful shutdown of applications.
47+
- [GraphQL](./graphql/README.md) - Setting up a GraphQL server.
48+
- [gRPC](./grpc/README.md) - Using Fiber as a client to a gRPC server.
49+
- [Hello World](./hello-world/README.md) - A simple "Hello, World!" application.
50+
- [Heroku](./heroku/README.md) - Deploying to Heroku.
51+
- [Hexagonal Architecture](./hexagonal/README.md) - A Hexagonal Software Architecture in Golang and MongoDB.
52+
- [HTTPS with PKCS12 TLS](./https-pkcs12-tls/README.md) - Setting up an HTTPS server with PKCS12 TLS certificates.
53+
- [HTTPS with TLS](./https-tls/README.md) - Setting up an HTTPS server with self-signed TLS certificates.
54+
- [I18n](./i18n/README.md) - Internationalization support.
55+
- [JWT](./jwt/README.md) - Using JSON Web Tokens (JWT) for authentication.
56+
- [Kubernetes](./k8s/README.md) - Deploying applications to Kubernetes.
57+
- [Memgraph](./memgraph/README.md) - Using Memgraph.
58+
- [MinIO](./minio/README.md) - A simple application for uploading and downloading files from MinIO.
59+
- [MongoDB](./mongodb/README.md) - Connecting to a MongoDB database.
60+
- [Multiple Ports](./multiple-ports/README.md) - Running an application on multiple ports.
61+
- [MySQL](./mysql/README.md) - Connecting to a MySQL database.
62+
- [Neo4j](./neo4j/README.md) - Connecting to a Neo4j database.
63+
- [OAuth2](./oauth2/README.md) - Implementing OAuth2 authentication.
64+
- [Google OAuth2](./oauth2-google/README.md) - Implementing Google OAuth2 authentication.
65+
- [Optional Parameter](./optional-parameter/README.md) - Handling optional parameters.
66+
- [Parsley](./parsley/README.md) - Using Parsley for dependency injection in an application.
67+
- [PostgreSQL](./postgresql/README.md) - Connecting to a PostgreSQL database.
68+
- [Prefork](./prefork/README.md) - Running an application in prefork mode.
69+
- [RabbitMQ](./rabbitmq/README.md) - Using RabbitMQ.
70+
- [React](./react-router/README.md) - Using React.
71+
- [Recover Middleware](./recover/README.md) - Recover middleware for error handling.
72+
- [RSS Feed](./rss-feed/README.md) - Generating an RSS feed.
73+
- [Server Timing](./server-timing/README.md) - Adding Server Timing headers to an application.
74+
- [Sessions + SQLite3](./sessions-sqlite3/README.md) - Using SQLite3 as a storage engine for user sessions.
75+
- [Socketio](./socketio/README.md) - A chatroom application using Socket.IO.
76+
- [Single Page Application (SPA)](./spa/README.md) - Setting up a Single Page Application (SPA) using React for the frontend and Go for the backend.
77+
- [Sqlboiler](./sqlboiler/README.md) - Using Sqlboiler ORM.
78+
- [Sqlc](./sqlc/README.md) - Using Sqlc to generate Go code from SQL queries.
79+
- [Server-Sent Events](./sse/README.md) - Implementing Server-Sent Events in an application.
80+
- [Stream Request Body](./stream-request-body/README.md) - Streaming request bodies.
81+
- [Svelte Netlify](./svelte-netlify/README.md) - Deploying a Svelte application on Netlify.
82+
- [Sveltekit Embed](./sveltekit-embed/README.md) - A full-stack application built using Sveltekit and Tailwind CSS.
83+
- [Swagger](./swagger/README.md) - Generate Swagger documentation for your application.
84+
- [Tableflip Example](./tableflip/README.md) - Use tableflip for graceful upgrades in a Go application.
85+
- [Template](./template/README.md) - Setting up a Go application with template rendering.
86+
- [Template Asset Bundling](./template-asset-bundling/README.md) - Setting up a Go application with template rendering and asset bundling.
87+
- [Todo App + Auth + GORM](./todo-app-with-auth-gorm/README.md) - A Todo application with authentication using GORM.
88+
- [Unit Testing](./unit-test/README.md) - Writing unit tests for a Go Fiber application.
89+
- [File Upload](./upload-file/README.md) - Handling file uploads in a Go application.
90+
- [URL Shortener](./url-shortener-api/README.md) - URL shortening service with a simple API.
91+
- [Validation](./validation/README.md) - Input validation using go-playground/validator.
92+
- [Vercel](./vercel/README.md) - Deploy a Go application to Vercel.
93+
- [WebSocket](./websocket/README.md) - Real-time communication application using WebSockets.
94+
- [WebSocket Chat](./websocket-chat/README.md) - Real-time chat application using WebSockets.
9595
<!-- AUTO-GENERATED-CONTENT:END -->
9696

9797
## 👩‍🍳 Have a delicious recipe?

air/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
title: Air Live Reloading
33
keywords: [air, live reloading, development, air tool, hot reload, watch, changes]
4+
description: Live reloading for Go applications.
45
---
56

67
# Live Reloading with Air Example
78

89
[![Github](https://img.shields.io/static/v1?label=&message=Github&color=2ea44f&style=for-the-badge&logo=github)](https://github.com/gofiber/recipes/tree/master/air) [![StackBlitz](https://img.shields.io/static/v1?label=&message=StackBlitz&color=2ea44f&style=for-the-badge&logo=StackBlitz)](https://stackblitz.com/github/gofiber/recipes/tree/master/air)
910

10-
This example demonstrates how to set up live reloading for a Go application using the [Air](https://github.com/cosmtrek/air) tool. The purpose of this example is to show how to automatically reload your application during development whenever you make changes to the source code.
11+
This example demonstrates how to set up live reloading for a Go application using the [Air](https://github.com/air-verse/air) tool. The purpose of this example is to show how to automatically reload your application during development whenever you make changes to the source code.
1112

1213
## Description
1314

@@ -17,7 +18,7 @@ Live reloading is a useful feature during development as it saves time by automa
1718

1819
- [Go](https://golang.org/dl/) 1.18 or higher
1920
- [Git](https://git-scm.com/downloads)
20-
- [Air](https://github.com/cosmtrek/air)
21+
- [Air](https://github.com/air-verse/air)
2122

2223
## Setup
2324

@@ -93,6 +94,6 @@ This example provides a basic setup for live reloading a Go application using Ai
9394

9495
## References
9596

96-
- [Air Documentation](https://github.com/cosmtrek/air)
97+
- [Air Documentation](https://github.com/air-verse/air)
9798
- [Fiber Documentation](https://docs.gofiber.io)
9899
- [GitHub Repository](https://github.com/gofiber/fiber)

auth-docker-postgres-jwt/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Auth + Docker + Postgres + JWT
33
keywords: [auth, docker, postgres, jwt]
4+
description: Authentication with Docker, Postgres, and JWT.
45
---
56

67
# Auth Docker Postgres JWT Example

auth-jwt/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Auth + JWT
33
keywords: [auth, jwt, gorm, fiber]
4+
description: Simple JWT authentication.
45
---
56

67
# Auth JWT Example

autocert/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Autocert
33
keywords: [autocert, tls, letsencrypt, ssl, https, certificate]
4+
description: Automatic TLS certificate management.
45
---
56

67
# Autocert Example

aws-eb/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: AWS Elastic Beanstalk
33
keywords: [aws, elastic beanstalk, deploy, amazon, aws-eb]
4+
description: Deploying to AWS Elastic Beanstalk.
45
---
56

67
# AWS Elastic Beanstalk Example

aws-sam-container/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: AWS SAM Container
33
keywords: [aws, sam, serverless, lambda, container]
4+
description: Containerized serverless applications with AWS SAM.
45
---
56

67
# AWS SAM Container

aws-sam/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: AWS SAM
33
keywords: [aws, sam, serverless, lambda]
4+
description: Serverless applications with AWS SAM.
45
---
56

67
# AWS SAM

bootstrap/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Bootstrap
33
keywords: [bootstrap, gorm, validator, env]
4+
description: Integrating Bootstrap.
45
---
56

67
# Bootstrap

0 commit comments

Comments
 (0)