first commit

This commit is contained in:
2026-04-29 17:41:10 -05:00
parent f53104d947
commit 0fe6bd7ea6
15 changed files with 1678 additions and 33 deletions

View File

@@ -131,7 +131,14 @@ def health_check():
if __name__ == "__main__":
for module in ROUTE_MODULES:
if hasattr(module, "register"):
module.register(app)
from api.routes import load_routes
load_routes(app)
# Optional: load general plugins
try:
from plugins import load_plugins
load_plugins(app)
except ImportError:
pass # plugins folder not present
app.run(host="0.0.0.0", port=5000)