A scalable, production-grade, and fully responsive ride booking platform similar to Uber or Pathao, built with React, Redux Toolkit, and RTK Query.
Live Demo
[Live Backend] (https://ride-booking-system-one.vercel.app/)
[Frontend Code base] (https://github.com/muhamash/ride-system-frontend.git)
[Backend Code base] (https://github.com/muhamash/Ride-Booking-System.git)
email : ash@test.admin password : ash@test.adminM
email : ash@test.rider password : ash@test.riderM
email : ash@test.driver password : ash@test.driverM
This project provides a role-based frontend application for Riders, Drivers, and Admins.
It interacts with a backend API to offer ride booking, real-time tracking, user management, analytics, and more, with a polished and intuitive user interface.
- Home Page with hero banner, service overview, testimonials, and CTA.
- About, Features, FAQ, and Contact pages.
- Fully responsive and visually consistent across devices.
- JWT-based authentication.
- Role-based dashboards for Rider, Driver, and Admin.
- Persistent session management and logout functionality.
- Account status page for blocked or suspended users.
- Offline mode for drivers.
- Request new rides with fare estimation.
- View and filter ride history.
- Profile management (edit info, change password).
- Optional: Live ride tracking with real-time map integration.
- Availability toggle (Online/Offline).
- Accept or reject ride requests.
- Update ride statuses (Accepted → Picked Up → Completed).
- Earnings dashboard with charts.
- Profile & vehicle details management.
- Manage users (search, filter, block/unblock, approve drivers).
- Advanced ride management with filtering and analytics.
- Data visualizations for ride statistics and revenue trends.
- Quick-access button during active rides.
- Options: Call Police, Notify Emergency Contact, Share Live Location.
- Pre-set emergency contact management in user settings.
- Role-based navigation.
- Skeleton loaders, smooth transitions, and error handling.
- Toast notifications for success/error states.
- Lazy-loading for performance.
- Accessibility-compliant and semantic HTML.
- React – UI library
- React Router – Routing
- Redux Toolkit – State management
- RTK Query – API calls
- TypeScript – Type safety
- TailwindCSS – Styling
- Shadcn UI – UI components
- Recharts – Data visualization
- React Hot Toast – Notifications
- Node.js / Express.js
- MongoDB
- JWT + bcrypt (authentication & security)
- Vercel – Frontend hosting
git clone https://github.com/muhamash/ride-system-frontend.git
cd ride-management-frontendbun install
# or
yarn installCreate a .env file in the root directory:
VITE_BASE_URL = http://localhost:3000/api
LOCATIONIQTOKEN = LOCATIONIQTOKEN-maps-api-key
bun run devFrontend will run at http://localhost:5173 or as configured.
bun run build
bun startsrc/
├── components/ # Reusable UI components
├── features/ # Redux slices & RTK Query APIs
├── pages/ # Page components (Home, Dashboard, etc.)
├── routes/ # Role-based routing
├── utils/ # Helper functions
├── App.tsx # Main app component
└── main.tsx # Entry point
- Lazy-loading for better performance.
- Role-based access using HOCs & conditional rendering.
- Form validation with clear error messages.