MumbaiNav
A multi-modal commuter routing prototype for Mumbai's Andheri–BKC corridor, combining a custom temporal A* engine, AI-assisted route ranking, and live condition updates across rail, bus, bike, and walking legs.
Problem
Mumbai's commute options are fragmented across rail, buses, rickshaws, bikes, and walking, with no app that combines them into a single, easy-to-read recommendation and "shortest path" alone misses what actually matters to a commuter: transfer structure, service frequency, live crowding, and whether a last-mile option like a bike is realistically usable right now. For Bharat Academix CodeQuest's open-innovation track, my teammate and I scoped this into a corridor-level MVP (Andheri to BKC) to prove the approach before considering a city-wide expansion.
Approach
Worked on the backend part of the project such as database design, the routing engine, the AI ranking layer, real-time delivery, synthetic data generation, and Supabase hosting. The database is a PostGIS-backed schema (stations and edges as proper geography types, spatially indexed) supporting a custom temporal A* router: rather than one unconstrained search, it evaluates four explicit corridor strategies and picks the best path within each, with wait time modeled from schedule frequency rather than assumed constant. Gemini 2.5 Flash sits above that as an advisory layer only, it ranks the routing engine's already-computed candidates using live crowd and bike-availability signals and explains its top pick, but never generates routes itself, so the system stays explainable and keeps working even if the AI call fails. For live updates, a backend job periodically regenerates synthetic crowd and bike-availability data and pushes it via Socket.io, which triggers the app to re-fetch freshly ranked routes, a real event-driven refresh loop rather than polling. The honest limitation is data: current transit datasets weren't readily available, so station and route geometry uses 2022–2024 reference data, and the synthetic layer (crowd density, bike availability, frequency bands) fills the gap where live or recent data doesn't exist — a tradeoff we documented rather than hid, since it directly shapes what the MVP can and can't claim.
Outcome
The project cleared the first round of Bharat Academix CodeQuest but didn't advance further. What shipped is a working single-corridor MVP rather than a city-wide router and metro and monorail integration, along with more current transit data, are scoped-out next steps rather than technical blockers.