Simple RESTful webapp based on Vert.x with embedded H2 database
My customer asked to develop a simple μService with embedded database and RESTful API.
This is simple application emulating money accounts and transfers among them.
The customer had “ostracized” Spring framework for some reasons, so I chose the following tech stack to build the application:
GitHub → TravisCI → AWS S3 → AWS CodeCommit
Deployment phase’s files for SDLC are stored in src/deploy/aws/codedeploy
and .travis.yml
The sample instance is running on AWS at http://test.itranga.com
Some assumptions was made in the project to facilitate development
application/json
only—application/xml
was discarded for simplicity.Transfer
sent without field from
then it is considered as incoming transaction from another system and that system is responsible for balancing debit/credit{"from": 12, "to": 1, "amount": -45.42}
Download binary file as zip
-archive. The file also contains sources and javadoc.
Javadoc API is available online.