Simple money transfer service to handle money transferring from one account to another 💰
Simply do ./gradlew run
and it will start a Spark server on http://localhost:4567 ⚡
- Unit
./gradlew clean test
- Integration
./gradlew clean integrationTest
- POST
/account
-> creates account - GET
/account/:id
-> retrieves account - PUT
/account/:id
-> updates account. Should provide newbalance
- DELETE
/account/:id
-> deletes account - POST
/transfer
-> transfers money. Should provide:accountIdFrom
,accountIdTo
andamount