secure_banking
v1.0.4
Published
A TypeScript-based command-line banking application that allows users to manage a bank account through basic functionalities such as checking the balance, debiting, and crediting funds. Built using Node.js and Inquirer, this application provides a user-fr
Downloads
16
Readme
Console Banking Application
A TypeScript-based command-line banking application that allows users to manage a bank account through basic functionalities such as checking the balance, debiting, and crediting funds. Built using Node.js and Inquirer, this application provides a user-friendly interface for financial transactions.
About
This project demonstrates the use of object-oriented programming in TypeScript, encapsulating customer and bank account functionalities. It serves as a practical example of a console-based application that interacts with users, showcasing fundamental banking operations in a simplified manner.
Features
Customer Management: Represents a bank customer with details such as first name, last name, gender, age, and phone number.
Account Balance Management: Keeps track of the bank account balance, allowing users to check their current balance.
Debit and Credit Transactions:
Debit: Users can withdraw money, with checks for sufficient balance.
Credit: Users can deposit money, with a small deduction (1% fee) applied to the deposited amount.
Interactive Command-Line Interface: Uses Inquirer to prompt users for actions, making it easy to navigate through different banking options.
Error Handling: Provides clear messages for insufficient balance during debit transactions.
Built With
TypeScript: Offers type safety and better organization of code.
Node.js: Serves as the runtime environment for the banking application.
Inquirer: Used for interactive command-line prompts to enhance user experience.