oss-slu/pao_surgery_simulator

Create API Health checkpoints

Aperta

#42 aperta il 24 feb 2026

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (5 fork)auto 404
good first issue

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor