Go Fiber REST API web server starter boilerplate based on clean architecture.
Referenced from gofiber's own boilerplate and ItsCosmas's gofiber-boilerplate.
- Go >= v1.19.x
- Postgres >= v14.x
Dependecies are canonically described in the go.mod file
To install requirements, use command
go get
To run the server, use command
go run main
You can also use hot-reloading server created using cosmtrek's air
For this you will need to install the air module (which is basically installing a package runable in the shell).
# installing module
go install github.com/cosmtrek/air@latest
# running server
air