This is a command line car rental and car management system. There are two types of target users:
- Car rental for customers, booking and returning cars are possible
- Car management for the business, adding and removing cars are possible
- Adding a new car: prompts for car model and daily rental price, car model must be one from the CarsMake Enum
- Removing an existing car: prompts for car ID
- Show Available cars
- Show rented cars
All data are saved onto the file:
rentalDB.csv
and PostgreSQL database. The switch between the two through the interface is yet to be implemented.
You can add new cars, remove cars, make changes directly to the csv file instead of the using the command line interface. The changes will be reflected in the car rental part of the CLI.
Project is created with:
- IntelliJ IDEA
- PostgreSQL
To start the CLI system, run Main.java
or SpringBootConsoleApplication.java
.
When prompted to enter username to access car management functions:
Enter Username: username
Enter Password: passw00rd