Ember Data library for the GitHub API.
ember install ember-data-github
In order to use OAuth endpoints you must also make sure you have a session service which contains a property named githubAccessToken
with the currently logged in user's GitHub access token (Exmple: app/services/session.js).
Examples:
this.get('store').find('githubUser', '#'); // get the current user
this.get('store').find('githubUser', 'jimmay5469'); // get a user
this.get('store').find('githubRepository', 'jimmay5469/old-hash'); // get a repository
this.get('store').find('githubBranch, 'jimmay5469/old-hash/branches/master'); // get a branch
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.