• Stars
    star
    398
  • Rank 108,325 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created over 4 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚧 Boilerplate for 🚀 Fiber

GoFiber Docker Boilerplate

Release Discord Test Security Linter

IDE Development

Visual Studio Code

Use the following plugins, in this boilerplate project:

Development

Start the application

go run app.go

Use local container

# Shows all commands
make help

# Clean packages
make clean-packages

# Generate go.mod & go.sum files
make requirements

# Generate docker image
make build

# Generate docker image with no cache
make build-no-cache

# Run the projec in a local container
make up

# Run local container in background
make up-silent

# Run local container in background with prefork
make up-silent-prefork

# Stop container
make stop

# Start container
make start

Production

docker build -t gofiber .
docker run -d -p 3000:3000 gofiber ./app -prod

Go to http://localhost:3000:

Go Fiber Docker Boilerplate

More Repositories

1

fiber

⚡️ Express inspired web framework written in Go
Go
32,846
star
2

recipes

📁 Examples for 🚀 Fiber
Go
3,042
star
3

awesome-fiber

✨ A curated list of awesome Fiber middlewares, boilerplates, recipes, articles and tools.
492
star
4

jwt

⚠️ Deprecated repository, available within Fiber Contrib.
Go
396
star
5

swagger

🧬 fiber middleware to automatically generate RESTful API documentation with Swagger
Go
384
star
6

websocket

⚠️ Deprecated repository, available within Fiber Contrib.
Go
290
star
7

storage

📦 Premade storage drivers for 🚀 Fiber
Go
261
star
8

template

🧬 Template engine middleware for Fiber
Go
258
star
9

docs

📚 Documentation for 🚀 Fiber
JavaScript
211
star
10

contrib

🧬 Repository for third party middlewares with dependencies
Go
205
star
11

adaptor

🧬 Adaptor middleware to convert net/http handlers from/to Fiber request handlers
Go
182
star
12

cli

Fiber Command Line Interface
Go
85
star
13

helmet

🧬 Helmet middleware for Fiber
Go
80
star
14

keyauth

🧬 Key Authentication for Fiber
Go
77
star
15

utils

⚡ A collection of common functions but with better performance, less allocations and less dependencies created for Fiber.
Go
44
star
16

session

⚠ Deprecated, available within Fiber v2
Go
24
star
17

basicauth

⚠ Deprecated, available within Fiber v2
Go
17
star
18

redirect

🧬 Redirect middleware for Fiber
Go
15
star
19

website

🌈 The website of the 🚀 Fiber framework
TypeScript
14
star
20

cors

⚠ Deprecated, available within Fiber v2
Go
14
star
21

rewrite

🧬 Rewrite middleware for Fiber
Go
12
star
22

embed

⚠ Deprecated, available within Fiber v2
Go
11
star
23

limiter

⚠ Deprecated, available within Fiber v2
Go
10
star
24

proxy

⚠ Deprecated, available within Fiber v2
Go
8
star
25

logger

⚠ Deprecated, available within Fiber v2
Go
7
star
26

csrf

⚠ Deprecated, available within Fiber v2
Go
5
star
27

pprof

⚠ Deprecated, available within Fiber v2
Go
5
star
28

recover

⚠ Deprecated, available within Fiber v2
Go
2
star
29

compression

⚠ Deprecated, available within Fiber v2
Go
1
star