Skip to content

welldan97/ember-data-github

 
 

Repository files navigation

ember-data-github Build Status Ember Observer Score

Ember Data library for the GitHub API.

Using ember-data-github

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

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

About

Ember Data library for the GitHub API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.7%
  • HTML 4.3%