Simple money transfer rest application.
Generate account order and create account with provided balance:
POST localhost:8080/account/initial
{
"balance": "12"
}
Get account with balance:
GET localhost:8080/acount/:id
Transfer money from one account to another
POST localhost:8080/transfer
{
"from": "2",
"to": "1",
"amount" : "2"
}
gradlew build
java -jar ./build/libs/moneytransfer-0.0.1-SNAPSHOT-all.jar