Partial banking API with user registration, deposit and withdrawal functions, user and balance queries. Demonstration of application of functions and middlewares in Javascript.
- It must be possible to create an account
- It must be possible to fetch the customer's bank statement
- It must be possible to make a deposit
- It must be possible to make a withdrawal
- It must be possible to search the customer's bank statement by date
- To be able to update customer account data
- It must be possible to obtain customer account data
- It must be possible to delete an account
- It must be possible to search the balance of an account
- It must not be possible to register an existing CPF account
- It must not be possible to fetch a statement from a non-existing account
- It must not be possible to make a deposit to a non-existing account
- It must not be possible to withdraw from a non-existing account
- It must not be possible to withdraw when the balance is insufficient
- It must not be possible to delete a non-existing account