Try for yourself https://uber-clone-app-bay.vercel.app/
- User login/signup (JWT-based authentication)
- Google Maps integration for live tracking
- Real-time ride events via Socket.IO
- Driver and user dashboards with unique flows
- A user can sign in, request a ride, and track the driver’s location in real-time.
- A captain/driver can log in, view ride requests, and update location for live tracking.
- Uses a backend server (Node.js/Express) for APIs and real-time sockets.
- Utilizes a modern frontend (React) with Google Maps for a mobile-friendly UI.
- Frontend: React, Tailwind CSS, Socket.IO client, Google Maps API
- Backend: Node.js, Express, Mongoose, MongoDB, Socket.IO server
- Authentication: JWT-based
- Deployment: Vite (development), Vercel and OnRender
-
Clone this repo:
git clone https://github.com/K-Daksh/UberClone.git -
Install dependencies (each folder):
- cd backend && npm install
- cd ../frontend && npm install
-
Start the backend: npm run dev (or npm start)
-
Start the frontend: npm run dev
-
Configure environment variables in .env (e.g., MongoDB URI, Google Maps Key).
- pages/ – Various routes (Home, Login, CaptainHome, etc.)
- components/ – Reusable UI components (LocationSearchPanel, LiveTracking, etc.)
- context/ – React Context for user, captain, and socket states
This project is open-source and available under the MIT License. Feel free to modify or distribute.