A full stack car rental platform that allows users to browse, book, and manage car rentals, while owners can list and manage their vehicles and bookings.
- 🔍 Browse available cars with detailed information
- 🖼️ View car details and images
- 📅 Book cars for specific dates
- 📂 Manage personal bookings
- 📊 Owner dashboard for managing cars and bookings
- ➕ Add, ✏️ edit, or ❌ remove car listings
- 📖 View and manage bookings for owned cars
- 📱 Responsive and modern UI
- 🔐 Authentication and authorization for users and owners
Car-Rental/
client/ # Frontend React app
server/ # Backend Node.js/Express API
- 📦 Node.js (v16+ recommended)
- 📁 npm or yarn
- 🗄️ MongoDB instance (local or cloud)
git clone https://github.com/Sneh0510/Car-Rental.git
cd Car-Rental
- For the backend:
cd server npm install
- For the frontend:
cd ../client npm install
- Create a
.env
file in theserver
directory with your MongoDB URI, JWT secret, and ImageKit credentials.
-
Start the backend server:
cd server npm start
-
Start the frontend app:
cd ../client npm run dev
-
The frontend will be available at
http://localhost:5173
(default Vite port).
This project is licensed under the MIT Licence.