Skip to content

Add a simple backend health check endpoint (/health) #29

@Aaravanand00

Description

@Aaravanand00

Summary

Currently, there is no dedicated health check endpoint to verify that the Flask backend is running correctly.

Adding a lightweight /health endpoint would make it easier to:

  • Verify backend availability
  • Support deployment checks
  • Integrate with CI or monitoring tools in the future

Proposed Improvement

Add a simple route:

@app.route("/health", methods=["GET"])
def health():
    return jsonify({
        "status": "ok"
    }), 200

Benefits

  • Useful for development and debugging

  • Helps validate server startup

  • Future-ready for monitoring or deployment automation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions