Deutsche Bank interview question

Develop spring boot application from given scenario