{"_id":"@abdul_waheed/oop_mybank","_rev":"1-813d1ccb223d463ffb093183ba9a08db","name":"@abdul_waheed/oop_mybank","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@abdul_waheed/oop_mybank","version":"1.0.0","keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","_id":"@abdul_waheed/oop_mybank@1.0.0","maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"bin":{"oop_mybank":"index.js"},"dist":{"shasum":"30308243ea33d03edd6f84f09c0cb7c69af6a324","tarball":"https://registry.npmjs.org/@abdul_waheed/oop_mybank/-/oop_mybank-1.0.0.tgz","fileCount":4,"integrity":"sha512-CxcCp+TWy8BUaaufVEQm4iCiMY8GrPacwaVarIEoWBBRQV64nAvL0uV/8/+hI7oJ6vzP01TiDV5nWBJtg+SWGQ==","signatures":[{"sig":"MEQCIF0gUVyk/QxBzooMln8QuibAzzkznP0fj1WYz8fJewx6AiAIOb7Fv5+QCEUJzNXr+RZlwsSqSUr6soVQKBz7QN1JdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20857},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"_npmVersion":"10.2.4","directories":{},"_nodeVersion":"20.11.1","dependencies":{"inquirer":"^9.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/oop_mybank_1.0.0_1718270504741_0.9081427919561103","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@abdul_waheed/oop_mybank","version":"1.0.1","description":"The Bank Account Management System is a command-line interface (CLI) application designed to simulate basic banking operations. This project is built using TypeScript and utilizes the `inquirer` package to handle user interactions. Users can create and ma","main":"index.js","type":"module","bin":{"oop_mybank":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","devDependencies":{"@types/node":"^20.14.2"},"dependencies":{"inquirer":"^9.2.23"},"_id":"@abdul_waheed/oop_mybank@1.0.1","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Q/CMrhKJ/ffV/o4Og/SW8EkWZe+Xdqm/8p++SPlO2ADn7ruYuEQGcaH/lNAXgXqKHk152hlai/rJmo7kUHnBUg==","shasum":"5973832713da1540e4b74ae99800afdff280bc49","tarball":"https://registry.npmjs.org/@abdul_waheed/oop_mybank/-/oop_mybank-1.0.1.tgz","fileCount":5,"unpackedSize":23702,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA07u35RQGxsDEiUQ+kU59XqyB1eNrlH+SAjqGM81dnaAiEA49QrupA0IIdgUR15d4tARtVQhU2EIYxgFnST8JpG/x8="}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oop_mybank_1.0.1_1718270808217_0.23762681679378317"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-13T09:21:44.629Z","modified":"2024-06-13T09:26:48.533Z","1.0.0":"2024-06-13T09:21:44.875Z","1.0.1":"2024-06-13T09:26:48.357Z"},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"author":{"name":"Abdul Waheed"},"keywords":[],"license":"ISC","readme":"# Bank Account Management System\r\n\r\n## Overview\r\n\r\nThe Bank Account Management System is a command-line interface (CLI) application designed to simulate basic banking operations. This project is built using TypeScript and utilizes the `inquirer` package to handle user interactions. Users can create and manage bank accounts, perform deposits and withdrawals, and check account balances.\r\n\r\n## Features\r\n\r\n- **Account Management**: Create and manage bank accounts with unique account numbers and initial balances.\r\n- **Customer Management**: Create customers with personal details (first name, last name, gender, age, mobile number) and associate them with bank accounts.\r\n- **Deposit Functionality**: Deposit money into accounts, with a $1 fee charged for deposits over $100.\r\n- **Withdrawal Functionality**: Withdraw money from accounts, ensuring sufficient balance.\r\n- **Balance Inquiry**: Check the current balance of an account.\r\n- **User Interaction**: Simple and intuitive user interface for performing banking operations through the command line.\r\n\r\n## Installation\r\n\r\n1. **Clone the repository:**\r\n\r\n    Clone the project repository to your local machine using the following command:\r\n    ```bash\r\n    git clone https://github.com/yourusername/bank-account-management.git\r\n    cd bank-account-management\r\n    ```\r\n\r\n2. **Install dependencies:**\r\n\r\n    Install the required dependencies by running:\r\n    ```bash\r\n    npm install\r\n    ```\r\n\r\n3. **Run the application:**\r\n\r\n    Start the application using:\r\n    ```bash\r\n    ts-node index.ts\r\n    ```\r\n\r\n## Usage\r\n\r\nUpon running the application, you will be prompted to enter your account number. If the account exists, you will be welcomed and presented with a menu of operations to choose from:\r\n\r\n1. **Deposit**: Enter the amount to deposit into the account.\r\n2. **Withdrawal**: Enter the amount to withdraw from the account.\r\n3. **Check Balance**: Display the current balance of the account.\r\n4. **Exit**: Exit the application.\r\n\r\nThe system will guide you through each step, ensuring a user-friendly experience for managing your bank account.\r\n\r\n## Project Structure\r\n\r\n- **index.ts**: The main entry point of the application.\r\n- **BankAccount.ts**: Defines the `BankAccount` class and its methods for handling deposits, withdrawals, and balance inquiries.\r\n- **Customer.ts**: Defines the `Customer` class and its properties, associating customers with their respective bank accounts.\r\n\r\n## Contributing\r\n\r\nContributions to the project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the project's GitHub repository.\r\n\r\n## License\r\n\r\nThis project is licensed under the ISC License.\r\n\r\n## Contact\r\n\r\nFor any questions or feedback, please feel free to contact the project maintainer at waheedjdk@hotmail.com\r\n\r\n","readmeFilename":"README.md","description":"The Bank Account Management System is a command-line interface (CLI) application designed to simulate basic banking operations. This project is built using TypeScript and utilizes the `inquirer` package to handle user interactions. Users can create and ma"}