Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lousando/fiber-template

Go Fiber Web Framework Template
https://github.com/lousando/fiber-template

Last synced: about 1 month ago
JSON representation

Go Fiber Web Framework Template

Awesome Lists containing this project

README

        

# Go Fiber Template

Comes pre-loaded with [Bulma](https://bulma.io/) and [HTMX](https://htmx.org/)

Checklist 📋

- Change the module name in `go.mod`
- Change the site title in `views/layouts/default.tmpl`

## Getting Started 🚀

```bash
# create your .env file
cp .env.example .env

# (if not already installed) install the air utility globally
go install github.com/cosmtrek/air@latest

# Now you can just run air to start the server
air
```

#### If you get: "command not found: air" or "No such file or directory"

The solution to this is to add the following variables to your
shell profile.

```shell
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
export PATH=$PATH:$(go env GOPATH)/bin
```