Skip to content

OP-Prajwal/uber-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Uber Clone

A full-stack Uber-like ride-hailing application with real-time features, built using Node.js, Express, React, and Socket.io.

Features

  • User and Captain (Driver) authentication and registration
  • Real-time ride requests and driver tracking (Socket.io)
  • Google Maps integration for route and location display
  • Ride booking, confirmation, and ride status updates
  • Booking history and ride management
  • Responsive UI for both users and captains

Tech Stack

  • Frontend: React, Vite, Tailwind CSS
  • Backend: Node.js, Express, Socket.io
  • Database: MongoDB
  • Maps: Google Maps API

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/YOUR-USERNAME/uber-clone.git
    cd uber-clone
  2. Install dependencies for both frontend and backend:

    cd backend
    npm install
    cd ../frontend
    npm install
  3. Set up environment variables:

    • Copy .env.example to .env in both backend/ and frontend/ if needed, and update values as required.
  4. Start the backend server:

    cd backend
    npm start
  5. Start the frontend development server:

    cd frontend
    npm run dev

Folder Structure

uber-clone/
├── backend/
│   ├── controllers/
│   ├── middleware/
│   ├── models/
│   ├── routes/
│   ├── services/
│   ├── app.js
│   ├── db.js
│   ├── server.js
│   └── ...
├── frontend/
│   ├── src/
│   ├── public/
│   ├── index.html
│   └── ...
├── README.md
└── ...

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages