Niyiojeyinka / Waza-assessment

Waza senior software engineer assessment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waza-Senior Software Engineer Assessment

Requirements

  • NodeJS (Tested on v20)

Setup

  1. Clone the repository.
  2. Install the required dependencies:
    npm install
  3. Start the CLI App:
    npm start
  4. To run tests:
    npm test

Operations

1. Create Account

Command:

createAccount>"Name","AccountType",Balance,"Currency"

Note: Please use double quotes only.

Example:

createAccount>"John Neil","Savings",700,"USD"

2. Transfer Funds

Command:

transferFunds>"SourceID","DestID",Amount

Example:

transferFunds>"opxqs91cs","fri8voce4",100

3. Get Transaction History

Command:

getTransactionHistory>"AccountID"

Example:

getTransactionHistory>"7owoz6062"

4. Get Account Details

Command:

getAccount>"AccountID"

Example:

getAccount>"7owoz6062"

5. Exit the CLI

Command:

exit

About

Waza senior software engineer assessment


Languages

Language:TypeScript 100.0%