Skip to content

chergey/bank-rest-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Sample REST service without Spring

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors