Skip to content

Latest commit

 

History

History
executable file
·
28 lines (22 loc) · 882 Bytes

File metadata and controls

executable file
·
28 lines (22 loc) · 882 Bytes

Bank rest service

Project featuring REST service using Java EE. The premise is that rest application can be developed in the same manner as Spring. The app is kept as simple as possible.

Build Status

Stack

To run

mvn package 
java -jar <app-name> -port=<port>

Sample requests

curl -X POST http://localhost:<port>/api/accounts/transfer?from=1&to=2&amount=10
curl http://localhost:<port>/api/accounts
curl http://localhost:<port>/api/accounts/somename?page=&size=20
curl -X DELETE http://localhost:<port>/api/accounts/2