@syedahoorainali/my-bank
v1.0.0
Published
An interactive CLI bank application built with TypeScript.
Downloads
3
Readme
My Bank CLI Project
Welcome to the Bank CLI Project! This is an interactive command-line interface (CLI) application built with TypeScript. Users can create accounts, deposit and withdraw funds, check their balances, view their transaction statements, and get account details.
Features
- Create a new bank account
- Deposit (deposit funds into an account)
- Withdraw (withdraw funds from an account)
- Inquiry (check account balance)
- Statement (view transaction history)
- Details (view account details)
Prerequisites
Before you begin, ensure you have met the following requirements:
- Node.js installed on your computer. You can download it from Node.js official website.
Installation
You can install the Bank CLI Project globally using npm:
npm install -g @syedahoorainali/my-bank
Usage
To start the bank CLI application, run the following command:
my-bank
Initial Setup
When you start the application, you will be prompted to enter your name, age, and other personal details. This information will be used to create your bank account.
Available Commands
Create Account
Follow the initial setup prompts to create your account.
Deposit
To deposit funds into your account, select the
Deposit
option and enter the amount you wish to deposit.Withdraw
To withdraw funds from your account, select the
Withdraw
option and enter the amount you wish to deposit.Inquiry
To check your account balance, select the
Inquiry
option.Statement
To view your transaction history, select the
Statement
option.Details
To view your account details, select the
Details
option.
Contributing
If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
If you have any questions or suggestions, feel free to contact me at [email protected].
Happy banking!