first commit

This commit is contained in:
2026-04-07 16:05:05 +08:00
commit 9d9bdbb1ce
136 changed files with 5103 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
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"],
)