npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@abdul_waheed/oop_mybank

v1.0.1

Published

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

Downloads

14

Readme

Bank Account Management System

Overview

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 manage bank accounts, perform deposits and withdrawals, and check account balances.

Features

  • Account Management: Create and manage bank accounts with unique account numbers and initial balances.
  • Customer Management: Create customers with personal details (first name, last name, gender, age, mobile number) and associate them with bank accounts.
  • Deposit Functionality: Deposit money into accounts, with a $1 fee charged for deposits over $100.
  • Withdrawal Functionality: Withdraw money from accounts, ensuring sufficient balance.
  • Balance Inquiry: Check the current balance of an account.
  • User Interaction: Simple and intuitive user interface for performing banking operations through the command line.

Installation

  1. Clone the repository:

    Clone the project repository to your local machine using the following command:

    git clone https://github.com/yourusername/bank-account-management.git
    cd bank-account-management
  2. Install dependencies:

    Install the required dependencies by running:

    npm install
  3. Run the application:

    Start the application using:

    ts-node index.ts

Usage

Upon 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:

  1. Deposit: Enter the amount to deposit into the account.
  2. Withdrawal: Enter the amount to withdraw from the account.
  3. Check Balance: Display the current balance of the account.
  4. Exit: Exit the application.

The system will guide you through each step, ensuring a user-friendly experience for managing your bank account.

Project Structure

  • index.ts: The main entry point of the application.
  • BankAccount.ts: Defines the BankAccount class and its methods for handling deposits, withdrawals, and balance inquiries.
  • Customer.ts: Defines the Customer class and its properties, associating customers with their respective bank accounts.

Contributing

Contributions 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.

License

This project is licensed under the ISC License.

Contact

For any questions or feedback, please feel free to contact the project maintainer at [email protected]