- Install dependencies
npm install
- Run express server:
npm run dev
- Run tests:
npm run test
- Run test coverage:
npm run test-coverage
- Using JSON schema validator to validate incoming requests. (eg: minLength of strings, amounts should be multiples of 0.01 and positive, etc...)
- Customer info and balances are stored in memory.
- Bank balances can only have 2 decimal places in amounts.
- You cannot transfer funds to yourself.