Skip to content

Commit

Permalink
Merge pull request #12 from malcolmmaima/malcolmmaima-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
malcolmmaima authored Aug 2, 2023
2 parents 134ac6b + 5041666 commit d97b493
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ MaimaBank is a service that provides APIs to enable the frontend to perform the
2. Record all balance changes made to each account. Every time an amount is added to or subtracted from an account, an account entry record is generated.
3. Transfer funds between two accounts. This happens as a transaction, ensuring that both accounts' balances are either successfully updated or not updated at all.
4. Generate account statements for a given account, which consist of a list of account transfers.
5. Add support for multiple currency transfers. Each account can only hold one currency, and transfers between accounts with different currencies will be automatically converted using the latest exchange rate.

#### To-do

5. Add support for multiple currency transfers. Each account can only hold one currency, and transfers between accounts with different currencies will be automatically converted using the latest exchange rate.
6. Add support for loan accounts. Loan accounts are accounts that can have a negative balance. When a loan account is created, a loan limit is set. The account balance can go down to the negative of the loan limit. For example, if the loan limit is 1000, the account balance can go down to -1000. When a loan account is created, the account balance is set to 0.
7. Add support for loan repayments. Loan accounts can be topped up by transferring funds from another account. The transfer amount is added to the loan account balance. For example, if the loan account balance is -500 and the transfer amount is 200, the new loan account balance will be -300.
8. Add support for loan repayments with interest. Loan accounts can be topped up by transferring funds from another account. The transfer amount is added to the loan account balance, and an interest amount is added to the transfer amount. For example, if the loan account balance is -500, the transfer amount is 200, and the interest rate is 10%, the new loan account balance will be -280.
Expand Down

0 comments on commit d97b493

Please sign in to comment.