Makes a best guess of a GitHub user's favourite language. A couple of notes about the implementation:
- The frontend is a single page application that uses jQuery for the necessary AJAX requests and DOM updates.
- The backend is a REST API written using Sinatra that returns JSON.
- The guessing logic is decoupled from the web app.
Tested with Ruby 2.0. Start by cloning the repo and then run bundle install.
- ruby app.rb starts a local server.
- rake test runs the test suite.