How do you substitute HttpClient in Aurelia?
<p>I'm brand new to Aurelia.</p>

<p>How would you change the following code to provide a dummy HttpClient, e.g. a json reader instead that would provide just a static set of json data, negating the need for a server in development.</p>

<pre class="lang-js prettyprint-override"><code>import {inject} from 'aurelia-framework';
import {HttpClient} from 'aurelia-fetch-client';

@inject(HttpClient)
export class Users {
  heading = 'Github Users';
  users = [];

  constructor(http) {
    http.configure(config =&gt; {
      config
        .useStandardConfiguration()
        .withBaseUrl('https://api.github.com/');
    });

    this.http = http;
  }

  activate() {
    return this.http.fetch('users')
      .then(response =&gt; response.json())
      .then(users =&gt; this.users = users);
  }
}
</code></pre>