feat: add Demo Requests module

- New demo_requests table (SQLAlchemy model + Alembic-ready)
- Public POST /api/demo-requests endpoint for the TapTrack website form
- Super-admin GET/PUT/DELETE endpoints to manage leads
- DemoRequestsPage.vue with stats row, filterable table, status updates, notes modal
- Sidebar nav item and route registered
This commit is contained in:
kevin-asprec
2026-03-17 09:50:14 +08:00
parent 56ecdbead3
commit 7d8cc3ca22
9 changed files with 385 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ from sqlalchemy.ext.asyncio import create_async_engine, async_sessionmaker
from sqlalchemy import select
from app.database import Base
# Import all models so Base.metadata has the complete schema
from app.models import user, school, license, sms, billing, ticket, audit, announcement, email_log, report # noqa
from app.models import user, school, license, sms, billing, ticket, audit, announcement, email_log, report, demo_request # noqa
from app.models.user import HubUser, UserRole
from app.auth.password import hash_password