An API to persist transactions of an account
- Java 11
- Spring Boot 2.4
make run
curl -X POST -H 'Content-Type: application/json' -d '{"document_number": 12345678900}' http://localhost:8080/account/
curl -X GET -H 'Content-Type: application/json' http://localhost:8080/account/1
curl -X POST -H 'Content-Type: application/json' -d '{"account_id": 1, "operation_type_id": 3, "amount": 51.23}' http://localhost:8080/transaction/
make test/unit
make test/integration
make test/all