Skip to content

Sample implementation car rental management system uses a simple MVC (Model-View-Controller) architecture, Binary Tree data structure, and stores car information in a CSV file.

License

Notifications You must be signed in to change notification settings

Moontaz/Car-Rental-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Car Rental Management System

The Car Rental Management System is a Java application designed to manage a fleet of cars, providing functionalities for data insertion, retrieval, and deletion. This system uses a simple MVC (Model-View-Controller) architecture, Binary Tree data structure, and stores car information in a CSV file.

Features

1. Insert Data

Add new cars to the system with detailed information, including:

  • ID
  • Plate Number
  • Brand
  • Color
  • Seat Capacity
  • Transmission Type
  • Cost per Day

2. Read Data

Read car information from a CSV file to populate the system.

3. Display Data

View the details of all cars in the system, including each car's ID, plate number, brand, color, seat capacity, transmission type, and cost per day.

4. Search

Search for cars based on various criteria:

  • ID
  • Plate Number
  • Brand
  • Color
  • Seat Capacity
  • Transmission Type
  • Cost per Day

5. Delete Data

Remove a car from the system and update the CSV file.

Project Structure

The project is organized into the following packages:

  • model: Contains the Car and TodoModel classes representing the car and todo model.
  • repository: Manages data storage and retrieval with the TodoRepository class.
  • service: Implements business logic with the TodoService class.
  • controller: Handles user input and application flow with the Controller class.
  • database: Database file.

Getting Started

Follow these steps to run the Car Rental Management System:

1. Clone the repository:

git clone https://github.com/Moontaz/CarRentalManagementSystem.git

2. Change database path:

Change CSV file path or mydata.csv path on TodoView.java file on line 397

3. Run main file:

run main.java

About

Sample implementation car rental management system uses a simple MVC (Model-View-Controller) architecture, Binary Tree data structure, and stores car information in a CSV file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages