Ride Hailing System Backend core built in Nodejs and TypeScript) MobX is a ride hailing service with features such as: authentication, ride request management, and role-based access (rider, driver). Built using TypeScript, Node.js, Express, and MongoDB.
- TypeScript
- Node.js + Express.js
- MongoDB + Mongoose
- JWT for Auth
- bcrypt for password hashing
- Helmet, cors, dotenv, morgan
- Two roles: Driver and Rider. Riders can request rides, and drivers can accept and complete rides.
- User registration/login (rider, driver roles)
- Request a ride (pickup/dropoff)
- Driver views pending rides
- Accept/start/complete rides
- View ride history
-
Authentication: User signup/login (role: rider, driver) JWT token issuance Role-based access control
-
Ride Flow Rider creates a ride request (pickup, dropoff) Driver sees a list of pending requests Driver accepts a ride → status: accepted Driver marks ride as in_progress then completed
-
Geolocation (basic logic only) Store coordinates for pickup and drop off Optional: Distance estimation logic
-
Trip History Rider: List of past-trips Driver: List of trips served