Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 579 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 579 Bytes

Favourite Language Guesser

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.

Get started

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.