#AngularJS (v.1.3.8) + Rails (v.4.2.0) 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
- Angular and form validation
- Testing an Angular application using PhantomJS, Mocha and SinonJS
- Testing a Rails application using RSpec and factory_girl
- Styling (CSS) by using mixins of Bourbon
##Demo (Heroku) http://cafetownsend-angular-rails.herokuapp.com
##Tools and Libraries (in alphabetical order)
For testing purposes:
##Local installation
-
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 spring rails s
-
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 using Spring:
spring rspec
Running JavaScript specs using Spring:
spring teaspoon
Running all tests with Guard and Spring
guard
##Version history CHANGELOG
##License MIT.
Contributors
##Author Jens Krause // WEBSECTOR.DE