Skip to content

Spring Boot Data RESTFull API Тестовое задание Java

License

Notifications You must be signed in to change notification settings

peterarsentev/finabay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Видео решение

Problem definition

Create a tiny RESTful web service with the following business requirements:

  • Application must expose REST API endpoints for the following functionality:
    • apply for loan (loan amount, term, name, surname and personal id must be provided)
    • list all approved loans
    • list all approved loans by user
  • Service must perform loan application validation according to the following rules and reject application if:
    • Application comes from blacklisted personal id
    • N application / second are received from a single country (essentially we want to limit number of loan applications coming from a country in a given timeframe)
  • Service must perform origin country resolution using a web service (you should choose one) and store country code together with the loan application. Because network is unreliable and services tend to fail, let's agree on default country code - "lv".

Technical requirements

You have total control over framework and tools, as long as application is written in Java. Feel free to write tests in any JVM language.

What gets evaluated

  • Conformance to business requirements
  • Code quality, including testability
  • How easy it is to run and deploy the service (don't make us install Oracle database please ;)

Good luck and have fun!

About

Spring Boot Data RESTFull API Тестовое задание Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages