Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.04 KB

Go Fiber

go version app version

Go Fiber REST API web server starter boilerplate based on clean architecture.

Referenced from gofiber's own boilerplate and ItsCosmas's gofiber-boilerplate.

Requirements

  • Go >= v1.19.x
  • Postgres >= v14.x

Dependencies

Dependecies are canonically described in the go.mod file

Installing dependencies and packages

To install requirements, use command

go get

Development

Running Server

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