Skip to content

atm jago command line program using javascript nodejs

Notifications You must be signed in to change notification settings

kucira/atm-jago

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published