#AngularJS (v.1.2.13) + Rails (v.4.0.2) port of Cafe Townsend application + I added jQuery Datepicker, which solves insert errors of the original project
My live demo - http://kronusproductions.com:3000 - is available as proof
##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 (Heroku) http://cafetownsend-angular-rails.herokuapp.com
##Tools and Libraries (in alphabetical order)
For testing purposes:
##Local installation
-
Open Terminal
git clone https://github.com/kronus/angular-ruby-2014-example.git cd angular-ruby-2014-example bundle install --without production bower install rake db:migrate rake db:seed rails server
-
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
I modified the project to correct insert, update issues with European calendar format - added jQuery datepicker, which enters the date for the end user. At little bit of style change, showing the KRONUS logo, but other than that, it is the CafeTownsend-Angular project.