Commit Graph

2 Commits

Author SHA1 Message Date
Jetour BI
9ff9ec27e9 Add database migrations + README
- migrations/001_initial.sql: full schema with 12 tables, triggers, indexes
- migrate.py: idempotent migration runner with version tracking
- README.md: deploy instructions, architecture overview
- .gitignore: exclude migration tracking data
2026-06-18 20:43:33 +00:00
root
8f206aa4f1 Initial commit: Jetour BI Dashboard
FastAPI backend with PostgreSQL queries for sales/CRM pipeline.
Chart.js dark-themed dashboard with:
- Pipeline funnel, velocity, conversion rates
- Monthly trend, lead sources, model distribution
- Vehicle order overview with per-color breakdown + subtotals
- Salesperson leaderboard, new vs used, lost reason analysis
- Email report settings (recipients + SMTP config)
- n8n integration for daily/weekly/monthly reports
2026-06-18 20:41:05 +00:00