kucira / atm-jago

atm jago command line program using javascript nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to ATM 👋

Version Documentation License: ISC Twitter: ikhlassandy

Project Hero ATM Dkatalis

Install

yarn install

Usage

yarn start

## Commands

* `login [name]` - Logs in as this customer and creates the customer if not exist

* `deposit [amount]` - Deposits this amount to the logged in customer

* `withdraw [amount]` - Withdraws this amount from the logged in customer

* `transfer [target] [amount]` - Transfers this amount from the logged in customer to the target customer

* `logout` - Logs out of the current customer

After run command, please run command yarn start again to running the program
ex: 
yarn start
login alice -> it will login alice account
yarn start
deposit 100 -> it will deposit 100 to alice account
Screencast.from.07-08-22.22.26.29.webm

Run tests

yarn run test:watch

Author

👤 Ikhlas Risandy

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

atm jago command line program using javascript nodejs


Languages

Language:JavaScript 100.0%