Coder Social home page Coder Social logo

backbone-directory's Introduction

Backbone.js Employee Directory

"Backbone Directory" is a sample application built using Backbone.js and Twitter Bootstrap. The application is an Employee Directory that allows you to look for 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. Create a MySQL database name "directory".

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

    mysql directory -uroot < directory.sql

Services:

The application is available with a PHP or Java services:

  • The PHP services are available in the api directory of this repository. The RESTful services are implemented in PHP using the Slim framework (also included in the api directory).
  • The Java back-end will be available soon.
  • The Perl back-end is in api-perl directory, which is using Mojolicious Web framework, to run perl backend you need to install Mojo framework first as following:

. On Unix/Linux just run :

sudo sh -c "curl -L cpanmin.us | perl - Mojolicious"

On Windows if you have Perl just open command line and enter:

cpan Mojolicious

. Install DBIx::Simple module using cpan or cpanm

cpan DBIx::Simple

. Cd to project directory . Run

morbo -v api-perl/backbone-directory.pl

. Open http://localhost:3000 in browser

backbone-directory's People

Contributors

ccoenraets avatar lotux avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

spacebat pilat66

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.