In this blog post about EmberJS and Ember-Data, we’ll use the example from the last blog post series (you can find it in this git repo on the branch master) and we’ll plug in the RESTAdapter in order to get data from an Express server instead of using fixtures. Clone the git repo, and follow me !
The Ember App Kit has a very useful little feature called ‘API-stub’, it let you create routes on Express and respond with data. We will use this API-stub to create our JSON that we want to send to our Ember app through Ember-Data, so let’s configure our ApplicationAdapter.
Your new post is loading...