Skip to content

UberClone is a full-stack ride-sharing app built with React, Tailwind CSS, Socket.IO (client & server), Node.js, Express, Mongoose, and MongoDB. It uses JWT for authentication and is deployed with Vite, Vercel, and OnRender, integrating Google Maps API for location services.

Notifications You must be signed in to change notification settings

K-Daksh/UberClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UBER

Client Demo Captain Demo

Features

  • 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

Table of Contents

  1. Project Overview
  2. Tech Stack
  3. Quick Setup
  4. Architecture
  5. License

Project Overview

  1. A user can sign in, request a ride, and track the driver’s location in real-time.
  2. A captain/driver can log in, view ride requests, and update location for live tracking.
  3. Uses a backend server (Node.js/Express) for APIs and real-time sockets.
  4. Utilizes a modern frontend (React) with Google Maps for a mobile-friendly UI.

Tech Stack

  • 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

Quick Setup

  1. Clone this repo:
    git clone https://github.com/K-Daksh/UberClone.git

  2. Install dependencies (each folder):

    • cd backend && npm install
    • cd ../frontend && npm install
  3. Start the backend: npm run dev (or npm start)

  4. Start the frontend: npm run dev

  5. Configure environment variables in .env (e.g., MongoDB URI, Google Maps Key).

Architecture

  • pages/ – Various routes (Home, Login, CaptainHome, etc.)
  • components/ – Reusable UI components (LocationSearchPanel, LiveTracking, etc.)
  • context/ – React Context for user, captain, and socket states

License

This project is open-source and available under the MIT License. Feel free to modify or distribute.

About

UberClone is a full-stack ride-sharing app built with React, Tailwind CSS, Socket.IO (client & server), Node.js, Express, Mongoose, and MongoDB. It uses JWT for authentication and is deployed with Vite, Vercel, and OnRender, integrating Google Maps API for location services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages