Frontend Overview
The HCMC Traffic Monitoring System frontend is a modern React 18 application built with TypeScript and Vite. It provides an interactive, real-time traffic visualization interface.
π― Key Featuresβ
- πΊοΈ Interactive MapLibre GL Map - 1,000+ camera markers with real-time updates
- π Analytics Dashboard - 7 chart types for data visualization
- π± Citizen Reports - Mobile-friendly report submission
- β±οΈ Time Machine - Historical data playback
- π€ AI Agent UI - Interactive panels for investigator, predictor, health advisor
- π Real-time Updates - WebSocket connections for live data
- π¨ Modern UI - Tailwind CSS + Framer Motion animations
ποΈ Architectureβ
apps/traffic-web-app/frontend/
βββ src/
β βββ components/ # 40+ React components
β β βββ TrafficMap.tsx