项目作者: abtris

项目描述 :
Simple playground for Fiber framework
高级语言: Go
项目地址: git://github.com/abtris/fiber-demo.git
创建时间: 2020-10-28T09:34:46Z
项目社区:https://github.com/abtris/fiber-demo

开源协议:MIT License

下载


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

  1. $ make
  2. Usage:
  3. make <target>
  4. Targets:
  5. help Display this help
  6. deps Check && download dependencies
  7. build Build docker image
  8. watch Watch file changes and build
  9. run Run

Docs