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

贡献者指南