Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lousando/fiber-template
- Owner: lousando
- Created: 2024-01-05T19:22:03.000Z (almost 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-28T05:10:42.000Z (11 months ago)
- Last Synced: 2024-04-14T20:21:43.957Z (9 months ago)
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```