/oDesk-1

Primary LanguageJavaScript

Interview Programming Task

In order to be considered for the position, you must complete the following steps.

Note: This task should take no longer than 1-2 hours at the most.

Prerequisites

  • Please note that this will require some basic JavaScript, Node and Angular knowledge.
  • You will need to have the approriate softare installed to complete this task.

Task

  1. Fork this repository
  2. Use the boilerplate code provided to start your application.
  3. Please create an app that accomplishes the following:
    • Create a page that is only accessable to logged in users that has a list of on/off toggles
    • The page should also let the user create a new toggle and name it
    • The toggles on/off status should update the back end mongodb
    • The toggles on/off status should also be saved on a simpleDB instance on Amazon Web Services
    • A master toggle to turn all on/off should be on the page and the UI toggles should update based on model updates
    • Use Twitter bootstrap for all elements and pages
  4. Commit and Push your code to your new repository
  5. Send us a pull request, we will review your code and get back to you

Tests

Create the following unit test with the testing framework:

  1. Verify that individual toggles change when the master toggle is changed

Once Complete

  1. Commit and Push your code to your new repository
  2. Send us a pull request, we will review your code and get back to you