diff --git a/ai_software_factory/main.py b/ai_software_factory/main.py index f26519e..129fb9b 100644 --- a/ai_software_factory/main.py +++ b/ai_software_factory/main.py @@ -15,8 +15,7 @@ from agents.database_manager import DatabaseManager from config import settings from datetime import datetime import json - - +from jinja2 import Template app = FastAPI( title="AI Software Factory", description="Automated software generation service with PostgreSQL audit trail", @@ -55,6 +54,7 @@ async def root(): "/audit/actions/{project_id}": "Get project user actions", "/audit/history": "Get project history", "/audit/history/{project_id}": "Get project history", + "/dashboard": "Dashboard", "/init-db": "Initialize database", } } diff --git a/ai_software_factory/templates/dashboard.html b/ai_software_factory/templates/dashboard.html new file mode 100644 index 0000000..aa0ae2e --- /dev/null +++ b/ai_software_factory/templates/dashboard.html @@ -0,0 +1,385 @@ + + +
+ + +Real-time Dashboard & Audit Trail Display
+| Timestamp | +Agent | +Action | +Status | +
|---|---|---|---|
| Loading... | +- | +- | +- | +
Dashboard is rendering successfully.
+This dashboard is powered by the AI Software Factory and displays real-time status updates, audit trails, and project information.
+