RideIt

Mern stack based Ride-hailing app

Description

πŸ’¬ RideIt – Online Cab Booking Platform πŸš–

--------------------------------------------------------------

RideIt is a MERN-stack online cab booking platform offering seamless ride booking, live driver tracking, secure payments with Razorpay, Google authentication, and route tracking. Designed for convenient and reliable travel, RideIt ensures a user-friendly and secure experience for both riders and drivers, featuring 3D vehicle previews and Geoapify-powered maps.

--------------------------------------------------------------

🌟 Features

πŸ”Ή Cab Booking & Real-Time Tracking

βœ… Instant Cab Booking – Book rides quickly with just a few taps.

βœ… Live Driver Tracking – Track the driver's location in real time using Geoapify.

βœ… Route Tracking – View the complete route and estimated arrival time on an interactive map container.

βœ… Ride Page – Access previous rides with details like date, time, and fare.

πŸ”Ή 3D Vehicle Model Integration

βœ… Vehicle Selection – Check the type of vehicle before booking.

βœ… 3D Model Preview – Interactive 3D models to visualize car types and sizes.

πŸ”Ή Payment Integration

βœ… Secure Payments – Pay seamlessly using Razorpay integration.

βœ… Multiple Payment Options – Choose from cards, UPI, or digital wallets.

πŸ”Ή User Authentication & Security

βœ… Google Authentication – Quick sign-in with Google.

βœ… Secure Sign-up/Login – Register using email/password securely.

βœ… Session Management – Stay logged in across devices.

βœ… JWT-Based Authentication – Secure and reliable login system.

πŸ”Ή User & Driver Profile Management

βœ… User Profiles – Update personal details and profile picture.

βœ… Driver Dashboard – Complete statistics on rides completed, earnings, and user ratings.

πŸ”Ή Ride Management & Notifications

βœ… Ride Scheduling – Schedule rides for a future date and time.

βœ… Notifications – Get real-time alerts for ride booking, driver arrival, and ride completion.

βœ… Fare Estimation – Calculate estimated fares based on distance and time.

πŸ”Ή Terms & Conditions

βœ… Terms & Conditions Page – Detailed policies and guidelines for users and drivers.

βœ… Privacy Policy – Information on data usage and user privacy.

--------------------------------------------------------------

πŸ›  Tech Stack

Frontend:

- React.js (Vite) – Fast UI rendering for a seamless user experience.

- Tailwind CSS – Responsive and modern styling.

- Socket.io – Real-time communication for live tracking.

- Zustand – Efficient state management.

- Three.js – 3D model integration for vehicle previews.

Backend:

- Node.js & Express.js – Robust API server.

- MongoDB – Database for storing users, drivers, rides, and payments.

- JWT (JSON Web Tokens) – Secure authentication.

- Socket.io – Real-time updates for driver tracking.

- Google OAuth – Secure Google authentication.

Cloud Storage & Services:

- Razorpay – Secure and seamless payment integration.

- Geoapify – Real-time location tracking and route management with interactive map containers.

--------------------------------------------------------------

πŸš€ Getting Started

1️⃣ Clone the Repository

```

git clone https://github.com/Tushar-bansall/Cab-booking.git

cd Cab-booking

```

2️⃣ Install Dependencies

```

npm run build

```

3️⃣ Set Up Environment Variables

Create a .env file in the server folder and add:

```

MONGO_URI=<your_mongo_database_url>

JWT_SECRET=<your_secret_key>

RAZORPAY_KEY_ID=<your_razorpay_key_id>

RAZORPAY_KEY_SECRET=<your_razorpay_key_secret>

GOOGLE_CLIENT_ID=<your_google_client_id>

GOOGLE_CLIENT_SECRET=<your_google_client_secret>

GEOAPIFY_API_KEY=<your_geoapify_api_key>

PORT=5000

NODE_ENV=development

```

4️⃣ Build and Run the Application

```

npm run start

```

--------------------------------------------------------------

πŸŽ₯ Live Demo

https://rideit.onrender.com

πŸš– Book rides, track drivers, preview vehicles in 3D, and travel conveniently with RideIt! πŸš€

Issues & PRs Board
No issues or pull requests added.