oss-slu/pao_surgery_simulator

Create API Health checkpoints

Offen

#42 geöffnet am 24.02.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (5 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (1 Stern)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide