Skip to content

About

A Peer-to-Peer Car Rental Marketplace built with Flask, HTML, CSS, JavaScript, and SQLite. Users can rent cars, list their own vehicles, and manage bookings through a secure platform with admin verification.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 DriveShare - Peer-to-Peer Car Rental Marketplace

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.


📌 Features

👤 Customer

  • 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

🚙 Car Owner

  • Register & Login
  • List multiple vehicles
  • Upload vehicle images & documents
  • Set rental price per day
  • Manage availability
  • View booking history
  • Track earnings
  • Receive booking notifications

🛡️ Admin

  • Secure admin login
  • Verify new vehicle listings
  • Approve / Reject listings
  • Manage users
  • Manage bookings
  • Remove fake listings
  • Monitor platform activities

⭐ Key Features

  • 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

🛠️ Tech Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap 5

Backend

  • Python
  • Flask

Database

  • SQLite

Tools

  • SQLAlchemy
  • Jinja2
  • Flask-Login
  • Git & GitHub

📂 Project Structure

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

🚀 Installation

Clone the repository

git clone https://github.com/yourusername/DriveShare.git

Go to the project folder

cd DriveShare

Create a virtual environment

python -m venv venv

Activate the virtual environment

Windows

venv\Scripts\activate

Install dependencies

pip install -r requirements.txt

Run the project

python app.py

Open your browser

http://127.0.0.1:5000

📸 Modules

  • Landing Page
  • Authentication
  • Customer Dashboard
  • Owner Dashboard
  • Admin Dashboard
  • Car Listing
  • Car Booking
  • Booking History
  • Invoice Generation
  • Vehicle Verification
  • Earnings Dashboard

🔒 Business Rules

  • 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.

👨‍💻 Team

Developed as a 2nd Year College Software Engineering Project.


📜 License

This project is developed for educational purposes.

About

A Peer-to-Peer Car Rental Marketplace built with Flask, HTML, CSS, JavaScript, and SQLite. Users can rent cars, list their own vehicles, and manage bookings through a secure platform with admin verification.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages