Sample backbone application with authentication. Forked from https://github.com/ccoenraets/backbone-directory
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 15 commits ahead, 1 commit behind ccoenraets:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
iphone
jquerymobile
localdb
web
directory.sql
readme.md

readme.md

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