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

@@ -10,7 +10,7 @@ if config.config_file_name is not None:
fileConfig(config.config_file_name)
from app.database import Base
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
target_metadata = Base.metadata
DATABASE_URL = os.getenv("DATABASE_URL", "postgresql+asyncpg://postgres:postgres@db:5432/taptrack_hub")