Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtris/fiber-demo
Simple playground for Fiber framework
https://github.com/abtris/fiber-demo
fiber golang
Last synced: about 1 month ago
JSON representation
Simple playground for Fiber framework
- Host: GitHub
- URL: https://github.com/abtris/fiber-demo
- Owner: abtris
- License: mit
- Created: 2020-10-28T09:34:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T15:07:55.000Z (over 1 year ago)
- Last Synced: 2024-06-20T01:50:56.578Z (5 months ago)
- Topics: fiber, golang
- Language: Go
- Homepage:
- Size: 136 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Github Actions Badge](https://github.com/abtris/fiber-demo/workflows/Go/badge.svg)](https://github.com/abtris/fiber-demo/actions)
# Fiber Hello World Demo
> An Express-inspired web framework written in Go.
[Fiber](https://gofiber.io/) is Golang alternative to [Express](https://expressjs.com/), [Flask](https://flask.palletsprojects.com/) or [Sinatra](http://sinatrarb.com/) with similar API.
- Demo contains
- static assets for css (`style.css`)
- bootstrap linked (cdn links in template)
- 404 message
- rate limiting
- basic logger
- prometheus integration (`/metrics`)
- request ID (for connect with metrics, traces)
- support for env PORT (for example used in Heroku)
- basic test for 200, 404 routes## How to use it
```
$ makeUsage:
makeTargets:
help Display this help
deps Check && download dependencies
build Build docker image
watch Watch file changes and build
run Run
```## Docs
- https://docs.gofiber.io/
- https://github.com/ansrivas/fiberprometheus