A sample API and frontend using Grape and Knockout.js.
- Clone and
cdinto the repo. - Install dependencies:
$ bundle install - Setup and migrate the database:
$ bundle exec rake db:setup - Seed the database:
$ bundle exec rake db:seed - Boot the app:
$ bundle exec rackup - Visit http://localhost:9292 for the frontend interface.
- Setup the test database:
$ RACK_ENV=test rake db:setup - Run the tests with:
$ bundle exec rake test