A "round-up" feature for Starling customers using the public developer api.
For a customer, take all the transactions in a given week and round them up to the nearest pound. For example with spending of £4.35, £5.20 and £0.87, the round-up would be £1.58. This amount should then be transferred into a savings goal, helping the customer save for future adventures.
Public API endpoints to use:
- Accounts - To retrieve accounts for the customer
- Transaction feed - To retrieve transactions for the customer
- Savings Goals - Create a savings goals and transfer money to savings goals
The project was bootstrapped with Create React App, so the following common scripts are available,
Assuming you have node and your favourite package manager installed, run your package manager install:
Before proceeding you'll need to create a .env
file in the root directory and set your ACCESS_TOKEN
as follows:
Start by running the local proxy server:
Obs: during development you might want to run (uses nodemon to auto-reload the server whenever a file changes):
The application:
To run tests:
To Build: