Different data loading patterns in Ember with a json:api compliant API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
public
tests
vendor
.bowerrc
.editorconfig
.ember-cli
.gitignore
.jshintrc
.travis.yml
.watchmanconfig
README.md
bower.json
ember-cli-build.js
package.json
rarwe.zip
testem.js

README.md

Rock and Roll with Ember.js

The application that is built in Rock and Roll with Ember.js

Setting up the app

$ git clone https://github.com/balinterdi/rarwe-code.git
$ cd rarwe-code
$ npm install
$ bower install
$ ember serve

Skipping to a chapter

I set up git tags for each chapter so it's very easy to skip to the end of a chapter and see the state of the application at that point. Let's say you want to play with the app as it stood at the end of the Nested routes chapter. Here is what you need to do:

$ git checkout nested-routes
$ rm -rf dist tmp node_modules bower_components
$ npm install
$ bower install
$ ember serve

The rm -rf is only needed to make sure nothing is left over from previous npm installs. You can even do an npm cache clear and bower cache clear, though I've never found this to be necessary so far.

Running Tests

Run ember test --server.