UberXpress-Backend is a robust backend service designed to power ride-hailing and delivery applications. Built with scalability, security, and performance in mind, this project provides RESTful APIs for user management, ride booking, payment processing, and real-time updates.
-
User Authentication
Register and login functionality for both drivers and passengers. -
Ride Booking
Passengers can request rides by entering source and destination locations. -
Driver Assignment
Nearby drivers are notified in real-time. The first driver to accept is assigned the ride. -
Location Tracking
Drivers continuously update their live location. Redis GEO queries are used to find nearby drivers. -
Booking Management
Both drivers and passengers can view their current and past bookings. -
Feedback System
Passengers can rate and review drivers after a completed ride. -
Real-Time Notifications
Implemented using Socket.IO for instant booking alerts and confirmations.
- Node.js (v16+)
- MongoDB
- Redis
-
Clone the repository:
git clone https://github.com/adarshRai7/UberXpress-Backend.git cd UberXpress-Backend -
Install dependencies:
npm install
-
Prepare Environment File:
cp example.env .env
- Make changes to
.envbased on requirements.
- Make changes to
-
Start the server:
npm run start
Contributions are welcome! Please open issues or submit pull requests for improvements and bug fixes.