A full-stack Uber-like web application that replicates key functionalities of a ride-hailing service. The project includes a frontend for users and captains and a backend to manage data, authentication, and ride processing.
- Framework: React.js
- Styling: Tailwind CSS / Bootstrap
- API Integration: Axios
- Framework: Node.js (Express.js)
- Database: MongoDB
- Authentication: JSON Web Tokens (JWT)
Ensure you have the following installed:
- Node.js
- MongoDB (local or MongoDB Atlas for cloud)
- Git
# Clone the repo
git clone https://github.com/MuhammadFaizan-prog/uber-clone.git
# Navigate into the project directory
cd uber-clone- Navigate to the backend folder:
cd backend- Install dependencies:
npm install-
Set up environment variables: Create a
.envfile in the backend directory and add:PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
-
Start the server:
npx nodemon- Navigate to the frontend folder:
cd ../frontend- Install dependencies:
npm install
---
3. Start the server:
```bash
npm run devContributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
- Inspired by the Uber app.
- Thanks to open-source resources and communities for their tools and support.