oss-slu/pao_surgery_simulator

Create API Health checkpoints

Ouverte

#42 ouverte le 24 févr. 2026

 (0 commentaire) (0 réaction) (0 personne assignée)JavaScript (5 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (1 étoile)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur