malachispencer / bank-test

Makers week ten tech test. Command line program where user can manage their bank account. JavaScript, Node.js, Jest.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bank Test

About

This is the first tech test of Makers week ten. Here I create a command line program where the user can deposit money into their bank account, withdraw funds from their bank account, show their balance, show their transactions and print out a full statement.

Technologies Used

Code written in JavaScript with Node.js runtime environment, unit tests performed in Jest.

Usage

  1. Clone this repository.
  2. Ensure you are in the project root.
  3. Run npm install to install dependencies.
  4. Run node to start the Node REPL.
  5. Enter const BankAccount = require('./bankAccount.js') to require the module.
  6. Initialize your account with new BankAccount().

Running The Tests

npm test

Test Coverage

Screenshot 2021-01-11 at 19 49 51

About

Makers week ten tech test. Command line program where user can manage their bank account. JavaScript, Node.js, Jest.


Languages

Language:JavaScript 100.0%