Fix README.md
This commit is contained in:
parent
a88831e722
commit
65c0afeb94
25
README.md
25
README.md
|
@ -73,6 +73,8 @@ ## Database schema
|
||||||
|
|
||||||
## Tickets
|
## Tickets
|
||||||
|
|
||||||
|
⚠️ Tests, factories & seeders are mandatory/required
|
||||||
|
|
||||||
### Bugfix - Error on login
|
### Bugfix - Error on login
|
||||||
|
|
||||||
On first login after registering, this error is thrown:
|
On first login after registering, this error is thrown:
|
||||||
|
@ -80,14 +82,10 @@ ### Bugfix - Error on login
|
||||||
Call to a member function transactions() on null
|
Call to a member function transactions() on null
|
||||||
```
|
```
|
||||||
|
|
||||||
You need to write a test to ensure that this error does not occur again.
|
|
||||||
|
|
||||||
### Feature - Notification when balance is low
|
### Feature - Notification when balance is low
|
||||||
|
|
||||||
When a user balance is low (< 10€), he should be notified by email.
|
When a user balance is low (< 10€), he should be notified by email.
|
||||||
|
|
||||||
You must write a test for this feature.
|
|
||||||
|
|
||||||
### Feature - Recurring transfers
|
### Feature - Recurring transfers
|
||||||
|
|
||||||
As a user, I want to be able to create recurring transfers.
|
As a user, I want to be able to create recurring transfers.
|
||||||
|
@ -108,12 +106,21 @@ ### Feature - Recurring transfers
|
||||||
|
|
||||||
This feature must be available in the API and the front-end.
|
This feature must be available in the API and the front-end.
|
||||||
|
|
||||||
You must write tests for this features.
|
### BONUS - Feature - Taking out a loan
|
||||||
|
|
||||||
Don't forget to write seeders & factories.
|
As a user I can ask to take out a loan.
|
||||||
|
|
||||||
### BONUS - Feature - Sync wallet balance
|
**The credit is granted automatically if the following conditions are met:**
|
||||||
|
|
||||||
You need to write an action that reconstitutes the balance of a portfolio from its transaction history.
|
0-200 € :
|
||||||
|
- If, over a 3-month period, the average account balance was above €100.
|
||||||
|
|
||||||
You must write tests for this action.
|
200-500 € :
|
||||||
|
- If, over a 3-month period, the average account balance was over €300;
|
||||||
|
- and the user has made at least 5 transfers over the same period.
|
||||||
|
|
||||||
|
500-1000 € :
|
||||||
|
- If over a 3-month period, the average account balance was above €500;
|
||||||
|
- and the user has made at least 1 transfer representing at least 50% of this average balance over the last six months.
|
||||||
|
|
||||||
|
Once the credit has been taken out, a recurring transfer (spread over 3 months) which the user cannot delete must be created, with a periodicity of 30 days.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user