import os
from flask import Flask
from routes.health import health_bp

app = Flask(__name__)
app.register_blueprint(health_bp)

if __name__ == "__main__":
    port = int(os.environ.get("PORT", 8080))
    app.run(port=port, debug=True)
