Live Demo: https://drive-on-mocha.vercel.app
DriveEasy is a modern car rental platform where car owners can list their vehicles for daily rental and customers can easily find and rent cars based on their preferences.
-
Owner Dashboard
- List new cars with details and daily rental prices
- Manage active listings and view booking history
- Edit or remove vehicles from the platform
-
Customer Interface
- Search and filter cars by type, location, and availability
- View detailed information and photos of each vehicle
- Book cars for desired dates and manage reservations
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
- Hosting: Vercel
- Node.js (v16+)
- npm
- Clone the repository:
git clone https://github.com/HarshChaturvedi27/DriveEasy.git cd driveon - Install frontend dependencies:
cd client npm install - Install backend dependencies:
cd ../server npm install - Setup environment variables in server/.env:
MONGO_DB_URL=your-database-uri JWT_SECRET=your-jwt-secret IMAGE_KIT_PUBLIC_KEY=your-imagekit-public-key IMAGE_KIT_PRIVATE_KEY=your-imagekit-private-key IMAGE_URL_ENDPOINT=your-imagekit-url-endpoint
- Setup environment variables in client/.env:
VITE_CURRENCY=Rs. VITE_BASE_URL=you-server-url
- Run the application:
# Backend (New Terminal) cd server npm run server # Frontend (New Terminal) cd client npm run dev
- For Owners: Sign up, add cars, manage listings, and track bookings.
- For Customers: Browse cars, filter based on preference, view details, and book rentals