- Spring boot 2.5.2
- Spring data
- Mysql as database
I used aspect-oriented programming to handle exceptions.
- POST /api/account : create a new bank account
- POST /api/client : create a new customer account
- POST /api/operations/deposit : make deposit in account
- POST /api/operations/withdrawal : make withdrawal in account
- POST /api/operations/: Get all operation
Scenario: To test: 0. Create database on mysql server : kata_bank
- Create a client
- Create an account for client
- Make a deposit / withdrawal in account
- Get all operations by account To test, you can use the curl or Postman command.
please find all curl request in file request.
you will find a demo file here : https://youtu.be/EsBue432cmg