How dhinesh-dhinesh/ridemap works
Ridemap is a student-facing bus tracking and commute app. Its main flow is an authenticated user opening the live map, where the client reads bus updates and combines them with the user’s location; separate screens provide route information and notification preferences. Authentication, profile settings, issue reporting, and informational pages round out the product. The source excerpts show routing, Firebase access, map inputs, and profile writes; geofencing delivery is documented in the README, but its implementation is not shown.
Main entry points: App.js App Router · index.js Live Bus Map · profile.js Profile Settings · routes.js Route Information
Components 19
App Navigation
- App Router
src/App.js - Bottom Navigation
src/components/bottomNav.js
Live Tracking
- Live Bus Map
src/pages/home/index.js - Location Watch
src/hooks/useGeolocation.js - Live Bus Feed
src/firebase/firebase.js - Map Tiles
- Route Geometry
src/data/routes.js
Account and Alerts
- Firebase Services
src/firebase/firebase.js - Auth Pages
src/pages - Profile Settings
src/pages/profile/profile.js - Profile Data
src/pages/profile/data.js - Notifications
src/pages/notification/notification.js - Geofence Alerts
src/pages/notification
Routes and Support
- Route Information
src/pages/routes/routes.js - Route Images
src/firebase/firebase.js - Route Data Function
src/firebase/functions/functions.js - Issue Reporting
src/pages/issue/index.js - Travel Guide
src/pages/howto/index.js
Other components
- Student
Connections 22
- Student → App Router: opens app
README.md - App Router → Live Bus Map: routes to
src/App.js - App Router → Route Information: routes to
src/App.js - App Router → Profile Settings: routes to
src/App.js - App Router → Notifications: routes to
src/App.js - App Router → Auth Pages: routes to
src/App.js - App Router → Issue Reporting: routes to
src/App.js - App Router → Travel Guide: routes to
src/App.js - App Router → Bottom Navigation: renders
src/App.js - Student → Live Bus Map: tracks buses
README.md - Live Bus Map → Live Bus Feed: reads updates
src/pages/home/index.js - Live Bus Map → Location Watch: reads position
src/pages/home/index.js - Live Bus Map → Map Tiles: renders map
src/pages/home/index.js - Student → Route Information: plans route
README.md - Route Information → Route Images: loads route images
src/pages/routes/routes.js - Route Geometry → Route Data Function: fetches route selection
src/data/routes.js - Profile Settings → Firebase Services: reads and writes settings
src/pages/profile/profile.js - Profile Settings → Profile Data: uses profile data
src/pages/profile/profile.js - Notifications → Firebase Services: uses Firebase
src/pages/notification/notification.js - Student → Geofence Alerts: receives approach alerts
README.md - Issue Reporting → Firebase Services: saves reports
src/pages/issue/index.js - Profile Settings → Geofence Alerts: configures alert preferences