CSSG-Labs/flask-todo-app

Create healthcheck endpoint

オープン

#9 opened on 2022/04/09

 (1 件のコメント) (0 件のリアクション) (2 人の担当者)HTML (4 件のフォーク)auto 404
backendgood first issue

Repository metrics

Stars
 (2 個のスター)
PR merge metrics
 (PR metrics pending)

説明

  • 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

コントリビューターガイド