Skip to content

areebactech/Auto-Rental-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Vehicle Rental System

A Java-based desktop application for managing vehicle rentals, built using Java Swing and SQLite. It provides a user-friendly interface for customers to book vehicles and for admins to manage bookings, vehicles, and view real-time statistics through a dashboard.


🧠 Overview

This system was developed as an academic project to demonstrate the use of GUI programming, database integration, and user interaction in Java. It includes:

  • A clean and interactive UI
  • Admin login system
  • Booking management with validation
  • Real-time dashboard cards
  • SQLite support (no server needed!)

🎯 Key Features

Module Description
👤 Admin Login Secure login to access admin features
📝 Vehicle Booking GUI form to book vehicles with date, duration, and auto-price calculation
📈 Admin Dashboard Displays total bookings, users, revenue, and more
🚗 Vehicle Selection List available vehicles for booking
💾 SQLite Storage Lightweight DB that requires no setup

Screenshots

Dashboard Overview

Dashboard

Vehicle Management

Vehicle Management

Booking System

Booking System

🛠️ Tech Stack

  • 💻 Java SE – Core programming language
  • 🎨 Swing – GUI framework
  • 🗃️ SQLite – Database engine (offline & lightweight)
  • 🧰 JDBC – For DB connection
  • 🧪 IntelliJ IDEA – Development environment

📁 Project Structure

Vehicle-Rental-System/
│
├── src/
│   ├── BookingPage.java
│   ├── AdminDashboard.java
│   ├── DBConnection.java
│   └── ...
│
├── rs.db      # SQLite database file
├── README.md
└── images/

⚙️ Setup Instructions

1. Clone the Repo

git clone https://github.com/areebactech/Vehicle-Rental-System.git
cd Vehicle-Rental-System

2. Open in IntelliJ or any Java IDE

  • Add the SQLite JDBC driver (e.g., sqlite-jdbc-3.36.0.3.jar) to your project classpath.

3. Run the App

Run LoginPage.java or BookingPage.java to get started.


🔐 Admin Login Credentials

Username: admin
Password: 1234

🔌 Database Info

  • The system uses SQLite (no configuration needed).
  • DB file is preconfigured: rs.db
  • You can edit or view it using DB Browser for SQLite

Tables Used:

users – Customer records

bookings – Booking entries

Vehicle - Vehicle info

📦 Sample Data

If you'd like to populate your DB quickly with test data:

  • use the GUI to add bookings

📬 Feedback & Contact

Feel free to reach out or fork the project!


About

This is a desktop-based vehicle rental management system built using Java Swing and SQLite. It allows customers to book vehicles with a simple and modern GUI, while administrators can manage bookings, view statistics, and monitor system activity through a dashboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages