Transfers API
Sample API for transferring balances between accounts.
Getting Started
Run this using sbt
sbt run
and then go to http://localhost:9000 to see the API interface.
Swagger has been used for API documentation and test interface. Populate the memory db by creating some accounts first through the Swagger interface
The service layer has been omitted for simplicity's sake.
Transaction atomicity is secured in TransactionsDAO. In case many transactions requested simultaneously, JDBC takes care of locking.
Running the tests
Only controller tests have been included
sbt test
Built With
- Play Framework - The web framework used
- Slick - ORM
- Swagger - API Interface
Authors
- Evangelos Barakos -