fiber-demo

command module
v0.0.0-...-5cd45d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 8 Imported by: 0

README

Github Actions Badge

Fiber Hello World Demo

An Express-inspired web framework written in Go.

Fiber is Golang alternative to Express, Flask or Sinatra 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

$ make

Usage:
  make <target>

Targets:
  help        Display this help
  deps        Check && download dependencies
  build       Build docker image
  watch       Watch file changes and build
  run         Run

Docs

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL