/sinatra-angular

An angularJS - sinatra example

Primary LanguageJavaScript

CRUD

A angularjs tutorial to build a simple crud application with a sinatra backend.

Example of AngularJS CRUD Application

Get Started

  1. Clone the repo
git clone git://github.com/twilson63/crud.git
  1. Configure Server (needs ruby 1.9.3)
cd crud
bundle install
  1. Run App
ruby app.rb
  1. Run Test (requires phantomjs - see http://phantomjs.org/)
npm install testacular -g
cd public
testacular start
#open new window
cd public
testacular run