• Stars
    star
    353
  • Rank 116,038 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created about 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
30,851
star
2

recipes

πŸ“ Examples for πŸš€ Fiber
Go
2,814
star
3

awesome-fiber

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

jwt

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

swagger

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

websocket

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

template

🧬 Template engine middleware for Fiber
Go
241
star
8

storage

πŸ“¦ Premade storage drivers for πŸš€ Fiber
Go
240
star
9

docs

πŸ“š Documentation for πŸš€ Fiber
JavaScript
210
star
10

adaptor

🧬 Adaptor middleware to convert net/http handlers from/to Fiber request handlers
Go
181
star
11

contrib

🧬 Repository for third party middlewares with dependencies
Go
176
star
12

cli

Fiber Command Line Interface
Go
82
star
13

helmet

🧬 Helmet middleware for Fiber
Go
81
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
35
star
16

session

⚠ Deprecated, available within Fiber v2
Go
24
star
17

basicauth

⚠ Deprecated, available within Fiber v2
Go
17
star
18

website

🌈 The website of the πŸš€ Fiber framework
TypeScript
14
star
19

redirect

🧬 Redirect middleware for Fiber
Go
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