Fake Bank is application to manage banks accounts, getting balance and transfers money between clients.
This application is structured as follows:
- Account: bank account from a client;
- Trader: where transfers will save amount
-
AccountService: responsible for manage a account
- balance: sum and reduce all amounts from account trades
-
TransferMoneyService: responsible for create trades between accounts
- transfer: create two trades, one who sent money and another who receive money
- Ruby
- Yarn - Install
To start a develop on this project, follow this steps:
git clone https://github.com/rpontes/fakebank
cd fakebank
After that you need install all dependencies, create and populate database.
bundle install
yarn install
rails db:create
rails db:migrate
rails db:seed
And run locally
rails s -b 0.0.0.0 thin
open http://127.0.0.1:3000
rspec
MIT © Ricardo Pontes