Sample backbone application with authentication. Forked from
PHP JavaScript Shell
Pull request Compare This branch is 15 commits ahead, 1 commit behind ccoenraets:master.
Latest commit e147376 Dec 3, 2012 @clintberry Merge pull request #2 from rafael-franca/patch-2
Update web/js/views/login.js
Failed to load latest commit information.
api Update api/index.php Dec 3, 2012
jquerymobile Adding tel: and sms: links Mar 8, 2012
localdb Adding Local Database version Apr 11, 2012
web Update web/js/views/login.js Dec 3, 2012

Backbone.js Employee Directory With Authentication#

Backbone Directory is a simple Employee Directory application built with Backbone.js. I have added some basic authentication to this great project to show one way to this with backbone.js. I have added the front-end authentication code to the 'web' directory only.

The application allows you to look up employees by name, view the details of an employee, and navigate up and down the Org Chart by clicking the employee’s manager or any of his/her direct reports.

Set Up:

  1. Install Vagrant
  2. Checkout the code
  3. In your terminal, navigate to the code, and type vagrant up

Manual Setup

Prerequisites: LAMP Server (Linux, Apache, MySQL, PHP)

  1. Create a MySQL database name "directory".

  2. Execute directory.sql to create and populate the "employee" table:

    mysql directory -uroot < directory.sql