Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1 day code sample demonstrating basic Rails patterns, Bootstrap, Rake tasks, D3.js visualizations, AJAX, and use of the Best Buy Product API.

Written with Rails 4.0.2

If you have your own Best Buy API key you can place it in the make_seed.rake task. (Production version would store key in a config or the database of course)

Uses a local SQLite3 database for ease of setup.

To start just run through

  • bundle install

  • If you have a Best Buy API key:

  • rake make_seed

  • otherwise the included seeds.rb will suffice.

  • db:setup

  • rails s

Note that images are still being served from Best Buy for size and portability. Please be respectful and do not abuse their media servers with too many phone detail views.

Future updates may include table sorting, less contrived metrics, and additional chart types.

About

A demo comparative sales tracking tool using Rails 4, Bootstrap 3, jQuery, and D3 made over the course of a few hours as a code sample.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages