- NodeJS (Tested on v20)
- Clone the repository.
- Install the required dependencies:
npm install
- Start the CLI App:
npm start
- To run tests:
npm test
Command:
createAccount>"Name","AccountType",Balance,"Currency"
Note: Please use double quotes only.
Example:
createAccount>"John Neil","Savings",700,"USD"
Command:
transferFunds>"SourceID","DestID",Amount
Example:
transferFunds>"opxqs91cs","fri8voce4",100
Command:
getTransactionHistory>"AccountID"
Example:
getTransactionHistory>"7owoz6062"
Command:
getAccount>"AccountID"
Example:
getAccount>"7owoz6062"
Command:
exit