Skip to content

hassan-ak/wmd-ts-atm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line ATM (TS)

A CLI based ATM using typescript and published as an executable npm package, complete problem statement is available here.

NPM Package

Usage

This project is published as an npm package. To use follow these steps.

  • Install as an npm package

    npm i wmd-ts-atm
  • Run the app after installation

    wmd-ts-atm
  • Use the app as an npx package

    npx wmd-ts-atm

Instructions

  • Login as admin
    • Create new user
    • List user's login credentials
    • Shutdown ATM
    • Logout
  • Login as user
    • Fast Cash
    • Cash Withdrawl
    • Money Transfer
    • Balance Inquiry
    • Change Pin
    • Logout
  • Login Details
    • Admin
      • UserName : admin
      • Pin : admin
    • User
      • UserName : Login as admin to view UserNames
      • Pin : Login as admin to view Pins

Demo

Steps to code CLI ATM

All the details to code this app is given here.