title: Decent tutorial on ember cli how to fetch JSON response
body: <p>I've been wasting all my journey trying to find out a simple tutorial explaining how to make a simple app using ember cli for treating a basic json file...I've read www.ember-cli.com of course, they explain a lot things but..I don't know how to proceed.
  Is there a basic example explaining (dummies level) how you make a simple app that parses a json response?
  I've used the RESTAdapter, I have build muy model but I don't really know how to make in order to send a kind of response to my template..</p>
  
  <p>this is my <strong>persons.js</strong> file under <strong>app/adapters</strong> folder</p>
  
  <pre><code>import DS from 'ember-data';
  
  var ApplicationAdapter = DS.RESTAdapter.extend({  
      host: 'http://localhost:8000/persons',
     namespace: 'person'
  });
  
  
  
  export default ApplicationAdapter;
  </code></pre>
  
  <p>this is my <strong>persons.js</strong> model file under <strong>app/model</strong></p>
  
  <pre><code>import DS from 'ember-data';
  
  export default DS.Model.extend({
    firstName: DS.attr('string'),
    lastName: DS.attr('string'),
    occupation: DS.attr('string')
  });
  </code></pre>
  
  <p>This is my handlebars template <strong>persons-tmp.hbs</strong> file under <strong>app/templates/components</strong></p>
  
  <pre><code>&lt;ul&gt;    
  {{#each model as |item|}}
          &lt;li&gt;{{item.firstName}}&lt;/li&gt;
        {{/each}}
  &lt;/ul&gt;
  </code></pre>
  
  <p>My <strong>persons.js</strong> file undert the folder <strong>app/routes</strong></p>
  
  <pre><code>import Ember from 'ember';
  
      export default Ember.Route.extend({  
          model: function() {
              return this.store.findAll('persons');
          }
      })
  </code></pre>
  
  <p>and finally the json response of the call to <a href="http://localhost:8000/persons" rel="nofollow">http://localhost:8000/persons</a>:</p>
  
  <pre><code>"person": {
      "firstName": "Barack",
      "lastName": "Obama",
      "occupation": "President"
    }
  </code></pre>
  
  <p>I don't know why but I don't get any data on my template result--..</p>
  
  <p>I also have tried the <a href="https://www.twilio.com/blog/2015/08/getting-started-with-ember-js-2-0-using-ember-cli.html" rel="nofollow">twilio tutorial</a> (wich is one the best that I've found) ...but even this doesn't work</p>
  
  <p>Sorry for the simplicity!</p>