oss-slu/pao_surgery_simulator

Create API Health checkpoints

开放

#42 创建于 2026年2月24日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (5 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (1 个星标)
PR 合并指标
 (平均合并 67天 23小时) (30 天内合并 8 个 PR)

描述

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

贡献者指南