oss-slu/pao_surgery_simulator

Create API Health checkpoints

Open

#42 opened on Feb 24, 2026

 (0 comments) (0 reactions) (0 assignees)JavaScript (5 forks)auto 404
good first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

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

Contributor guide