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.
Add new cars to the system with detailed information, including:
- ID
- Plate Number
- Brand
- Color
- Seat Capacity
- Transmission Type
- Cost per Day
Read car information from a CSV file to populate the system.
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.
Search for cars based on various criteria:
- ID
- Plate Number
- Brand
- Color
- Seat Capacity
- Transmission Type
- Cost per Day
Remove a car from the system and update the CSV file.
The project is organized into the following packages:
- model: Contains the
Car
andTodoModel
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.
Follow these steps to run the Car Rental Management System:
git clone https://github.com/Moontaz/CarRentalManagementSystem.git
Change CSV file path or mydata.csv
path on TodoView.java
file on line 397
run main.java