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 @@ + + + + + + AI Software Factory Dashboard + + + +
+
+

🚀 AI Software Factory

+

Real-time Dashboard & Audit Trail Display

+
+ +
+
+

Current Project

+
Loading...
+
+
+

Active Projects

+
0
+
+
+

Total Projects

+
0
+
+
+

Status

+
Loading...
+
+
+ +
+

📊 Current Status

+
+
+
+
Loading...
+
+ +
+

📁 Active Projects

+
+
Loading projects...
+
+
+ +
+

📜 Audit Trail

+ + + + + + + + + + + + + + + + + +
TimestampAgentActionStatus
Loading...---
+
+ +
+

⚙️ System Actions

+

Dashboard is rendering successfully.

+

This dashboard is powered by the AI Software Factory and displays real-time status updates, audit trails, and project information.

+
+
+ + + + \ No newline at end of file diff --git a/ai_software_factory/test-project/README.md b/ai_software_factory/test-project/README.md deleted file mode 100644 index 33e13fa..0000000 --- a/ai_software_factory/test-project/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# test-project - -Test project description - -## Features -- feature-1 -- feature-2 - -## Tech Stack -- python -- fastapi diff --git a/ai_software_factory/test-project/main.py b/ai_software_factory/test-project/main.py deleted file mode 100644 index d3d8bdf..0000000 --- a/ai_software_factory/test-project/main.py +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by AI Software Factory -print('Hello, World!')