This Project was set by Makers Academy as a practise tech test.
As a User
So I keep track of my money
I would like to have a bank account balance
As a User
So I can save money
I would like to deposit into my bank account
As a User
So I do not go overdrawn
I will receive a error if trying to withdraw money i do not have
As a User
So I can spend my money
I would like to withdraw from my bank account
As a User
So i can see previous transactions
I would like to be able to print my statement
Preliminary Design
Final Design
- Fork and clone the repository
- Open
app.html
in the browser and open the developer tools to use the app
- To make deposits enter the amount and the date of the deposit.
account.deposit(amount, DD-MM-YYYY);
- To make withdrawals enter the amount and the date of the withdrawals.
account.withdraw(amount, DD-MM-YYYY);
- To check the balance
account.balance;
- To print transaction history
output.print();
The project was tested via Jasmine
To run the tests open SpecRunner.html
in the browser.