1.0.0 • Published 1 year ago

code_with-riaz_hussain.cli-atm-machine v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

ATM Machine

This is a simple ATM Machine CLI application written in TypeScript. It allows users to perform basic ATM operations such as checking balance, withdrawing cash, and fast cash withdrawal.

Features

  • PIN Verification: Users need to enter a PIN to access the ATM functionalities. The default PIN is 2001.
  • Balance Inquiry: Users can check their account balance.
  • Withdrawal: Users can withdraw a specified amount from their account.
  • Fast Cash: Users can quickly withdraw preset amounts of cash (500, 1000, 3000, 5000, 10000).
  • Security: PIN input is masked for security purposes.

Getting Started

Prerequisites

  • Node.js installed on your machine

Installation

  1. Clone the repository:

    git clone https://github.com/Riaz-Hussain-Saifi/ATM-Machine.git
  2. Navigate to the project directory:

    cd ATM-Machine
  3. Install dependencies:

    npm install

Usage

  1. Run the application:

    npm start
  2. Follow the on-screen prompts to interact with the ATM.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License -