CSSG-Labs/flask-todo-app

Create healthcheck endpoint

開放

#9 建立於 2022年4月9日

 (1 則留言) (0 個反應) (2 位負責人)HTML (4 個分叉)auto 404
backendgood first issue

倉庫指標

星標
 (2 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

  • GET request to route returns JSON response:
    • HTTP status code
    • Current datetime
    • Uptime

WHAT:

  • an endpoint that can be used to check if the app is running

WHY:

  • Useful for tests to ensure app is working
  • Useful for future diagnostic checks and reports (ex: database connectivity status)

HOW:

  • Example can be seen in this Express.js article

貢獻者指南