DriveShare is a modern web-based Peer-to-Peer Car Rental Marketplace that allows users to either rent a car or list their own vehicle for rental. The platform provides a secure booking system, admin verification for car listings, instant booking, invoice generation, and owner earnings management.
- Register & Login (OTP Simulation)
- Browse available cars
- Advanced search & filters
- Instant booking
- Booking history
- Download invoices
- Cancellation & refund policy
- View pickup location
- Contact details revealed only 24 hours before pickup
- Register & Login
- List multiple vehicles
- Upload vehicle images & documents
- Set rental price per day
- Manage availability
- View booking history
- Track earnings
- Receive booking notifications
- Secure admin login
- Verify new vehicle listings
- Approve / Reject listings
- Manage users
- Manage bookings
- Remove fake listings
- Monitor platform activities
- Dual User Platform (Customer & Owner)
- Admin Vehicle Verification
- Instant Booking
- Automatic Availability Calendar
- Platform Commission (5–10%)
- In-State / Out-of-State Pricing
- PDF Invoice Generation
- Booking History
- Earnings Dashboard
- Responsive UI
- Secure Authentication
- Contact Number Reveal 24 Hours Before Pickup
- HTML5
- CSS3
- JavaScript
- Bootstrap 5
- Python
- Flask
- SQLite
- SQLAlchemy
- Jinja2
- Flask-Login
- Git & GitHub
DriveShare/
│
├── app.py
├── models.py
├── requirements.txt
├── database.db
│
├── static/
│ ├── css/
│ ├── js/
│ ├── images/
│ └── uploads/
│
├── templates/
│ ├── index.html
│ ├── login.html
│ ├── register.html
│ ├── dashboard.html
│ ├── browse_cars.html
│ ├── car_details.html
│ ├── booking.html
│ ├── owner_dashboard.html
│ ├── admin_dashboard.html
│ └── profile.html
│
└── README.md
Clone the repository
git clone https://github.com/yourusername/DriveShare.gitGo to the project folder
cd DriveShareCreate a virtual environment
python -m venv venvActivate the virtual environment
Windows
venv\Scripts\activateInstall dependencies
pip install -r requirements.txtRun the project
python app.pyOpen your browser
http://127.0.0.1:5000
- Landing Page
- Authentication
- Customer Dashboard
- Owner Dashboard
- Admin Dashboard
- Car Listing
- Car Booking
- Booking History
- Invoice Generation
- Vehicle Verification
- Earnings Dashboard
- Every newly listed vehicle must be verified by the administrator.
- Contact numbers are hidden until 24 hours before pickup.
- Booked dates become unavailable automatically.
- Owners receive earnings after successful booking.
- Platform commission is automatically added to the rental amount.
- Out-of-state bookings incur additional charges.
- Cancellation within 24 hours receives a 50% refund.
- Cancellation before 24 hours receives a full refund.
Developed as a 2nd Year College Software Engineering Project.
This project is developed for educational purposes.