oss-slu/pao_surgery_simulator

Create API Health checkpoints

オープン

#42 opened on 2026/02/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (5 件のフォーク)auto 404
good first issue

Repository metrics

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

説明

Description

In order verify easily weather our Flask endpoint is running perfectly without needing to upload a file we need to create a simple health check endpoint . This helps in understanding how routing works in flask.

Requirements

  • Create a new GET route at /api/health in app.py.
  • The endpoint should return a simple JSON response like Surgery Simulator API is Running.
  • It must return a 200 OK HTTPS Status code.
  • Test the endpoint in the browser.

Note

Use the @app.route decorator and jsonify function from FLASK

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