Skip to content

powellmichael/CafeTownsend-Angular-Rails

 
 

Repository files navigation

#AngularJS (v.1.2.13) + Rails (v.4.0.2) port of Cafe Townsend application

##About AngularJS and Rails port of the famous Cafe Townsend application originally written in ActionScript.

The application covers the following topics:

  • Angular and Rails
  • Angulars Modules
  • Angulars Services
  • Sharing data beetween controllers using services, which are acting as Domain Models
  • Angulars animation directive ngAnimate
  • Testing an Angular application using PhantomJS, Mocha, SinonJS etc.
  • Mixins by Bourbon

##Demo (YouTube) Click on screen shot to see live demo on YouTube

##Demo (Heroku) http://cafetownsend-angular-rails.herokuapp.com

##Tools and Libraries (in alphabetical order)

For testing purposes:

##Local installation

  1. Open Terminal

    git clone git://github.com/sectore/CafeTownsend-Angular-Rails.git cd CafeTownsend-Angular-Rails bundle install --without production bower install rake db:migrate rake db:seed rails server

  2. Open http://localhost:3000 using Chrome

##Tests

Note: Make sure that you have PhantomJS installed on your machine.

Before running tests match the development schema to the test database (only once)

rake db:test:clone

Running Rails specs only:

rspec

Running JavaScript specs only:

teaspoon

Running all tests with Guard and Spork

guard

##Version history Check the CHANGELOG file for details, please.

##License CafeTownsend-Angular-Rails is licensed for use under the terms of the MIT License. Check the LICENSE file for details, please.

##Author Jens Krause // WEBSECTOR.DE

Build Status Bitdeli Badge

About

AngularJS and Rails port of the famous Cafe Townsend demo originally written in ActionScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published