About
## The problem it solves
***Problem statement:***
Daily commuters often face expensive and unreliable daily transportation, with limited connectivity to public transport. Many people travel along the same routes every day, yet there is no trusted platform that enables them to safely share rides.
Existing ride-hailing services are designed primarily for commercial drivers and individual trips, leaving empty seats in private vehicles unused while others struggle to find affordable transportation. This inefficient use of vehicles contributes to increased traffic congestion, higher fuel consumption, and greater carbon emissions **Solution:**
**RideLink AI** enables daily commuters travelling in the same direction to share rides with one another.
By connecting verified drivers with passengers whose destinations are along the same route, the platform makes commuting more affordable and convenient.
Drivers can also earn by sharing their unused vehicle seats, while passengers enjoy safe and cost-effective transportation.
**Key Features:**
**Demand Hotspots:**
Suggests the main hotspot areas.

**Emergency SOS:**
Activating SOS will immediately broadcast your live GPS location, notify your emergency contacts, and dispatch an urgent alert to platform safety leads.

**Ride Suggestions:**
Recommends the most suitable ride.

**Trust Score:**
Shows driver and passenger reliability.

**Women Safety:**
Verified drivers with SOS support.

**Campus & Corporate Mode:**
Private ride-sharing for colleges and companies.

**CarbonTracker:**
Shows fuel and CO₂ savings through ride sharing.

**Safe & Secure**
Driver can only offer a Ride after they verify their Aadhar and liscence

## Challenges we ran into
Building **RideLink AI** involved solving several complex full-stack engineering challenges:
**Real-Time Multi-Client Synchronization:** Initially, ride data was stored in local React component state, causing data loss on browser refresh and preventing passengers from seeing new rides. We resolved this by re-architecting our Express backend to persist ride offers directly to MongoDB Atlas while emitting real-time WebSocket events via Socket.IO. This ensures every connected client receives instant UI updates across browsers without page refreshes.

**Firebase OAuth Domain Authorization:** Deploying Google OAuth via Firebase triggered domain authorization errors due to cross-origin security policies. We resolved this by registering production domain origins in the Firebase Console and configuring custom provider parameters to explicitly force the Google account selection window every time.

**Strict Document-Based Driver Authorization:** Early prototypes allowed drivers to gain verified status without submitting real identity documents. We hardened our Express validation middleware and MongoDB schemas to strictly verify Aadhaar Card and Driver’s License fields, locking ride creation endpoints until identity verification is completed.

**Atomic Inventory Control for Concurrent Bookings:** Simultaneous booking requests created race conditions where seats could be oversold. We implemented atomic MongoDB document updates and validation logic in our Express controllers to verify remaining seat capacity before confirming any booking

Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











