Build a Rails application VisableBank
. The application performs basic banking operations like money transfers and showing of current account balance.
We would like to see your way of implementing the models, API endpoints. Also your coding style is very interesting for us.
Imagine you have bank accounts with transactions and balance. You don’t need to build authentication and UI. All implementation is about the backend part.
- You need to transfer funds between accounts. Think about what classes and DB tables you need for this task. Implement the models and a service class that wires them together.
- Build a REST endpoint to show the balance of the account and 10 latest transactions.
- Build a REST endpoint to transfer money between accounts. Your REST action should use the service class you built in task 1.
The app should include the seed data and readme with example of usage. If you can, provide a link to the git repository.
You can use any gems you like.
Good luck!