6z0m9t-object_oriented_programming_oop_mybank
v1.0.4
Published
My Bank, used OOP, please read README file.
Downloads
4
Readme
Object-Oriented Programming (OOP) My_Bank
In the OOP MyBank project, I have three main files:
account.ts: This file contains the definition of the Account class, which represents a bank account. It includes properties such as balance, accountNumber, and fullName, along with methods for depositing, withdrawing, and retrieving account information.
cli.ts: This file contains the CLI class, which represents the command-line interface for interacting with the bank application. It allows users to create accounts, deposit money, withdraw money, check balances, and view account summaries. It utilizes the inquirer library for user input and provides a structured menu-based interface.
index.ts: This file serves as the entry point of the application. It creates an instance of the CLI class and starts the application by calling the start method. It orchestrates the flow of the application, prompting users to create accounts and then presenting the main menu for interacting with their accounts.
Overall, these files work together to create a simple banking application with object-oriented principles, providing users with the ability to manage their accounts via a command-line interface.
In this project, I've ensured that only alphabetical characters are accepted for the name input & same that only numerical digits are accepted for the deposit / withdrawal input.
Please check and test and guide for more improvement.
npx 6z0m9t-object_oriented_programming_oop_mybbank
Author: Azmat Ali
Project 11.0