How cartickkk/aeroroute-iq works
AeroRoute IQ is a Bhopal air-quality navigation and incident-awareness dashboard. Operators sign in, inspect the city map and forecast, request a clean-corridor comparison, and see route exposure estimates; they can also report an incident for automated dispatch. The backend route calculation and hotspot registry are sampled directly. The README documents the Make.com-to-Telegram dispatch and Supabase authentication; source excerpts show frontend calls and rendering, but not every page-script wiring or external service implementation.
Main entry points: app.js Dashboard controls · map.js Map and routes · api.js API client · app.py Flask API
Components 17
Operator dashboard
- Dashboard controls
frontend/js/app.js - Map and routes
frontend/js/map.js - API client
frontend/js/api.js
Routing and exposure
- Flask API
backend/app.py - Corridor and AQI engine
backend/aqi_engine.py - Inhalation estimates
frontend/js/app.js
Spatial intelligence
- Nodes and hotspots
backend/data_loader.py - Map and forecast data
frontend/js/config.js - Green buffer overlays
frontend/js/map.js - Dispersion forecast
frontend/js/map.js
Access and dispatch
- Operator login
frontend/js/auth.js - Supabase client
frontend/js/supabase-client.js - Incident reporting
frontend/js/app.js
Other components
- Operator
- Supabase Auth
- Make.com webhook
- Telegram channel
Connections 21
- Operator → Dashboard controls: uses
README.md - Dashboard controls → API client: requests routes
frontend/js/app.js - API client → Flask API: calls API
README.md - Flask API → Corridor and AQI engine: computes corridors
backend/app.py - Corridor and AQI engine → Nodes and hotspots: reads nodes and hotspots
backend/aqi_engine.py - Flask API → Nodes and hotspots: reads hotspots
backend/app.py - API client → Dashboard controls: returns route data
frontend/js/app.js - Dashboard controls → Map and routes: renders routes
frontend/js/app.js - Dashboard controls → Inhalation estimates: calculates dose
frontend/js/app.js - Dashboard controls → Map and routes: initializes map
frontend/js/app.js - Dashboard controls → Map and routes: updates forecast
frontend/js/app.js - Map and routes → Map and forecast data: reads map data
frontend/js/map.js - Map and routes → Green buffer overlays: renders buffers
frontend/js/map.js - Map and routes → Dispersion forecast: renders dispersion
frontend/js/map.js - Operator → Operator login: signs in
README.md - Operator login → Supabase client: uses client
frontend/js/auth.js - Supabase client → Supabase Auth: authenticates
frontend/js/supabase-client.js - Dashboard controls → Supabase Auth: checks session
frontend/js/app.js - Operator → Incident reporting: reports hazard
README.md - Incident reporting → Make.com webhook: posts incident
frontend/js/app.js - Make.com webhook → Telegram channel: dispatches alert
README.md