This is the companion API for the BackBooks live-code from the first week of our Backbone curriculum.
git clone <whatever>
cd backbone-rails-api
bundle install
rails db:create
rails db:migrate
rails db:seed
rails server
This API assumes you're running our standard Webpack3 setup, which will run a server on localhost port 8080. If that's not true, you'll need to go into config/initializers/cors.rb
and change the line origins locahost:8080
to whatever suits your fancy.