Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master
Octocat-spinner-32 app hiding raw data of user name using ng-cloak directive
Octocat-spinner-32 bin initial source for using Rails 4.0.0
Octocat-spinner-32 config some configuration for using Bower + Rails on Heroku, @see: https://c…
Octocat-spinner-32 db Fix migrations
Octocat-spinner-32 layout adding fireworks files of header + screen shots
Octocat-spinner-32 lib initial source for using Rails 4.0.0
Octocat-spinner-32 log initial source for using Rails 4.0.0
Octocat-spinner-32 public initial source for using Rails 4.0.0
Octocat-spinner-32 spec adding tests of EmployeesService
Octocat-spinner-32 vendor folder of deprecated angular-1.2.0-rc2 removed
Octocat-spinner-32 wiki README: YouTube screenshot + link added
Octocat-spinner-32 .bowerrc using bower to install latest Angular 1.2.6
Octocat-spinner-32 .buildpacks some configuration for using Bower + Rails on Heroku, @see: https://c…
Octocat-spinner-32 .gitignore using bower to install latest Angular 1.2.6
Octocat-spinner-32 .rspec using Spork + Guard to run specs smoothly as possible
Octocat-spinner-32 .ruby-gemset adding .ruby-version + .ruby-version
Octocat-spinner-32 .ruby-version initial source for using Rails 4.0.0
Octocat-spinner-32 .travis.yml running rspec with bundler
Octocat-spinner-32 CHANGELOG.md Changelog updated
Octocat-spinner-32 Gemfile Gemfile updated for using Ruby 2.0 on Heroku
Octocat-spinner-32 Gemfile.lock adding updated Gemfile.lock
Octocat-spinner-32 Guardfile adding more gems: 'better_errors' + 'binding_of_caller' + 'guard-live…
Octocat-spinner-32 LICENSE.md using markdown syntax for LICENSE file
Octocat-spinner-32 Procfile in preparation for deploying to heroku
Octocat-spinner-32 README.md adding Travis badge
Octocat-spinner-32 Rakefile initial source for using Rails 4.0.0
Octocat-spinner-32 bower.json updating to latest Angular 1.2.13
Octocat-spinner-32 config.ru initial source for using Rails 4.0.0
Octocat-spinner-32 package.json some configuration for using Bower + Rails on Heroku, @see: https://c…
README.md

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

Something went wrong with that request. Please try again.