A Sinatra app built to integrate with the fictional JSON 'Coolpay' api.
Clone it: git clone [email protected]:philbrockwell1984/fakebook.git
CD into it: cd fakebook
Initialize the app: bundle exec rake app:init
Follow the instructions on screen!
Some JS could be implemented for the api calls to avoid page refreshes and keep the user updated during requests.
Test coverage should be increased to include coverage for all actions in the front end, e.g. Add Recipient/Payment. This could be done with Cucumber/Capybara.
The Add Payment function could be extended to provide a list of available recipients by making a get request to the Coolpay API and rendering a list with ids, instead of having to copy and paste the recipient id