tp

Ryan Fong’s Project Portfolio Page

Project: CLIRental


Overview

CliRental is a CLI-based application designed to facilitate operations of car rental companies. It manages and keeps track of customers, cars, and rental transactions all in one place. Targeted specifically at car rental managers, it provides them with a user-friendly and effective tool to execute these tasks efficiently, especially when handling large volumes of data.


Code Contribution

Click here to view my code contributions for this project!! :) —

Features implemented

Feature 2: Modelled the validity check of license plate number after the real world.

Background:

The standard vehicle registration number in Singapore follows the following format: SXX####X, where X represents any letter excluding I and O (to avoid confusion with numbers 1 and 0 respectively), and #### represents any number from 1 to 9999 without leading zeroes. However, there are also exceptions where some license plate numbers start with E and only contain 2 letter prefixes, etc.

Actual Implementation:

In an attempt to make things simple and flexible yet still adhering closely to the actual format, our application allowed X to be ANY letter, including I and O. We also disregarded the other exceptions (e.g. license plate number starting with E). Other than that, all other requirements of the standard license plate number format were adhered to.

Summary of implementation:

Format: SXX####X, where X represents ANY letter and #### represents any number from 1 to 9999, without leading zeroes.

This check prevents the user from entering any random undesirable or invalid strings as the license plate number.

Feature 3: Added the ability to automatically update the rental status of cars.


Documentation

User Guide (UG) Contributions

Developer Guide (DG) Contributions


Community

Team-Based Tasks Contributions