Welcome to the Minimalist Banking App
Account 1
Username: js
Password: 1111
Location: US
Account 2
Username: jd
Password: 2222
Location: UK
Account 3
Username: stw
Password: 3333
Location: India
Account 4
Username: ss
Password: 4444
Location: Canada
Enter the account username from one of the four accounts mentioned above
to which you want to transfer (except the one currently logged in) and
also enter the amount. Please note that transfer will not take place if
you try to submit an invalid username or amount. `Invalid username`
refers to any username apart from the four mentioned above or the
username of the currently logged in account. `Invalid amount` refers to
any amount less than 0 or an amount higher than the account balance.
Once the transfer is successful, the amount deducted will reflect in the
transactions window. To see if the amount is recieved in the other
account, click on log out and then log in with the other account and
check the transactions window. You will notice that the amount recieved
is converted into the curency of the country to which this account
belongs ;-)
To take a loan from the bank, enter a loan amount and try to submit the
request. The bank will accept the loan request only if it meets the
following criterias:
1. At least one deposit in the account should be equal to or greater
than 10% of the requested loan amount.
2. The loan amount should be higher than 0.
The bank will take a few seconds to process and approve the loan, once
it is approved the rounded off loan amount will be deposited in the
account and the same will be reflected in the transactions window.
The transaction window displays the details of each transaction such as
the type of transaction, amount and the date and time. Notice that a
transaction done today will have a timestamp of `TODAY`, a transaction
done 2 or 3 days ago will have a timestamp of `2 DAYS AGO` or `3 DAYS
AGO` respectively, whereas any transaction done before that will show
the entire date and time.
Total deposits shown at the bottom of the transactions window is the sum
of all the deposits in the account whereas, total withdrawals is the sum
of all the withdrawals in the account. Also, for each deposit in the
account, a certain interest is granted depending on the value of the
deposited amount. The interest rate differs for each account and the
interest is calculated using the corresponding interest rate. The
balance shown is the sum of all the transactions plus the total
interest.
The sorting button allows you to sort the transactions based on either
the transaction amount or the chronological order.
The logout timer logs out the user automatically after 5 minutes of
inactivity (i.e. no transfer done or loan requested). If the user
successfully performs a transfer or requests a loan, the logout timer is
resetted to 5 minutes.
For each account the currency is formated using the Internationalization
API according to the location to which the account belongs and the
language of the web browser of the user. The account from USA will show
the currency in dollars, whereas the account from India will show the
currency in INR and so on . . .
The date and time is also formatted using the Internationalization API
according to the language of the web browser.
To close an account, enter the account credentials and submit the
request. Please note you can only close the account through which you
are logged in, any other account's credentials are invalid and the
request will not be accepted.
THIS APP IS ONLY INTENDED FOR LARGE SCREENS