Application to manage, create payment and deposit for Wedoogift's customers.
- Maven
- Docker (for test)
$ mvn -U clean install
$ mvn spring-boot:run
Once the app is running please go to http://localhost:8001/swagger-ui.html
or use the swagger.json file at https://editor.swagger.io
- Add spring security
- Add a frontend
- Add hibernate envers
- Add Mapstruct
Please consider looking the code
A company can create deposits and through the DepositController, but when they do that we have to :
- check that the company balance is still good for that
- create the end date of the deposit, considering it is a meal of gift
- update the user's balance (meal or gift balance) if the deposit period of time matches the current time
A user can pay through it's gift of meal balance and we have to :
- check that the balance has enought money
- update the user's balance