Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Money Transfers API

Requirements

  1. keep it simple and to the point (e.g. no need to implement any authentication, assume the API is invoked by another internal system/service);
  2. use whatever frameworks/libraries you like (except Spring, sorry!) but don't forget about the requirement #1;
  3. the datastore should run in-memory for the sake of this test;
  4. the final result should be executable as a standalone program (should not require a pre-installed container/server);
  5. demonstrate with tests that the API works as expected.

Document with API design.

Discussion

  • This solution have clean code practices based on SOLID principles;
  • Tests to all layers;
  • Executable Application using Jersey with self-contained Grizzly;
  • In Memory repositories;
  • To make it simple the transfers are not Transactional. However to mitigate such problem in production scenario, it would be possible create a compensation action, if something fails.

How to Run

The application is built with Java 8 and Apache Maven.

  • Run Application
mvn exec:java
  • Run Tests
mvn clean compile test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages