pipelinedeals-chart.herokuapp.com
- Ruby 2.6.3 (install with rbenv)
- Rubygems
- Bundler (
gem install bundler
) - Foreman (
gem install foreman
)
bundle install
foreman start -f Procfile.dev -p 3000
bundle exec rspec spec/
Application displays single page containing a column chart. Data is from PipelineDeals API.
As future improvements I suggest to implement caching mechanism for external API (e.g. by using Redis) and/or rate limiting for internal API.
- PipelineDeals API wrapper
- service object for calculating totals
- Controller action rendering JSON
- unit tests
- basic interface with React
- proposed improvements
- deployed to Heroku