This repository was archived by the owner on Aug 29, 2024. It is now read-only.

mfvanek/money-transfer-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java CIcodecov

  1. Should be rewritten for using of JAXRS
  2. Replace Hand-written in-memory data storage with H2 or Embedded PostgreSQL
  3. Add Swagger for API documentation

Design and implement a RESTful API (including data model and the backing implementation) for money transfers between accounts.

  1. You can use Java, Scala or Kotlin.
  2. Keep it simple and to the point (e.g. no need to implement any authentication).
  3. Assume the API is invoked by multiple systems and services on behalf of end users.
  4. You can use frameworks/libraries if you like (except Spring), but don't forget about requirement #2 – keep it simple and avoid heavy frameworks.
  5. The datastore should run in-memory for the sake of this test.
  6. The final result should be executable as a standalone program (should not require a pre-installed container/server).
  7. Demonstrate with tests that the API works as expected.
java -jar "./rest-api-app/target/rest-api-app-1.3.0.jar"
  • 200 OK
  • 400 Bad request
  • 404 Not found
  • Using Russian bank accounts
  • Decided to ignore topics of currency conversions and multi-currency operations

About

Simple implementation of RESTful API for money transfers between accounts

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages