from app import create_app import os app = create_app(os.environ.get("FLASK_ENV", "development")) @app.route("/") def index(): return {"message": "SentClaw API", "version": "0.1.0", "status": "running"} @app.route("/health") def health(): return {"status": "healthy"} if __name__ == "__main__": app.run( host=app.config["Flask_HOST"], port=app.config["Flask_PORT"], debug=app.config["Flask_DEBUG"], )