# use this link to access H2 database management console
http://localhost:8080/h2-console
#JDBC URL: jdbc:h2:mem:casino
http://localhost:8080/api/v1/player
#http://localhost:8080/api/v1/player/current-balance/{playerId}/{transactionId}
http://localhost:8080/api/v1/player/current-balance/1/1
#http://localhost:8080/api/v1/player/wagering/{playerId}/{transactionId}/{wagerAmount}
http://localhost:8080/api/v1/player/wagering/1/1/900
#http://localhost:8080/api/v1/player/winning/{playerId}/{transactionId}/{winAmount}
http://localhost:8080/api/v1/player/winning/1/1/900
#http://localhost:8080/api/v1/player/transactions/{transactionId}/{transactionType}
# list user wagers
http://localhost:8080/api/v1/player/transactions/1/wager
# list user wins
http://localhost:8080/api/v1/player/transactions/1/win
# Payload
{
"username": "@nhlanhla",
"password": "swordfish"
}