This is the backend for the Uber Clone application. It provides APIs for user authentication, ride booking, driver management, and more.
- User authentication and authorization
- Ride booking and management
- Driver management
- Real-time location tracking
- Payment processing
- Node.js
- Express.js
- MongoDB
- Socket.io
- JWT for authentication
- Node.js installed
- MongoDB installed and running
- Clone the repository:
git clone https://github.com/vivekCreates/uber-clone.git
- Navigate to the project directory:
cd uber-clone - Install dependencies:
npm install
- Create a
.envfile in the root directory and add the following environment variables:PORT=8000 MONGODB_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
- Start the server:
npm run dev
- The server will be running on
http://localhost:8000.