Skip to content

finmid/code-challenge-be

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Objective

Your assignment is to build an internal API for a fake financial institution using Kotlin or Java and any framework.

Brief

Your task is to build the basic REST API. Imagine you are designing a backend API for bank employees. It could be ultimately consumed by multiple frontends (web, iOS, Android etc).

Tasks

Consider using following simplified data model:

Account:
- accountId - unique account identifier
- balance - account balance

Transaction:
- txId - unique transacion identifier
- amount - transferred amount
- from - source account id
- to - destination account id

Implement following banking APIs:

  • create new account with a possibility to define balance
  • fetch account balance by accountId
  • create transaction between two accounts, that impacts account balance

Requirements

  • Latest Kotlin or Java
  • Any framework
  • Stateless service
  • Persistance layer using database
    • In memory db e.g. h2 is NOT allowed
    • Please don't host any db anywhere
  • Local development environment
    • Ability to run locally without any manual setup
  • Ignore authentication and authorization
  • Code will be pushed to private Github repository and dedicated finmid members will be added as collaborators

All the best and happy coding,

The finmid Team.

About

interview coding challenge for backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published