This project is part of the challenges given by the book You Don't Know JS by Kyle Simpson.
This is the task given, requirements for the application to:
- Keep purchasing phones until the budget has been reached
- Purchase phone accessory for each purchase unless it exceeds budget
- Add tax to the basket
- Check total cost against customer bank balance
- Receipt prints total cost with currency sign and to two decimal places
Bonus:
- Customer sets budget
- The customer can choose to buy accessories
- The customer can see their budget/bank balance
- JavaScript
- Mocha (Testing Framework)
- Chai (Assertion Libary)
- Node (Runtime environment)