Skip to content

chergey/bank-rest-service

Repository files navigation

Bank rest service

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

Build Status Quality Gate Status

Stack

Other features

  • Tests are written in groovy
  • Application is deployed in docker alongside with hazelcast
  • Entirely modular - taking advantage of Java Modules
  • HATEOAS

To run

mvn package
sudo docker-compose up --force-recreate

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