Name: pull-requests
Owner: TABLEFLIP
Description: An overview of outstanding pull requests
Created: 2016-05-23 15:44:19.0
Updated: 2016-05-23 15:44:19.0
Pushed: 2016-06-30 17:47:10.0
Homepage:
null
Size: 491
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Pull-requests
An overview of outstanding pull requests.
Architecture
Server
Client
Strategy
- Present the user with an invitation to login with Github.
- Login in via github-oauth and store the resulting token in the Apollo connector.
- In the connector, use the supplied Github token to request the users' repos (https://developer.github.com/v3/repos/#list-your-repositories) and all open pull requests in parallel (possibly tranched) (https://developer.github.com/v3/pulls/#list-pull-requests) for owner specified in the resolver.
- Using Apollo's GraphQL type language, create a GraphQLSchema to make data available to the client.
- On the client, import this data using
mapQueriesToProps
and present an interface similar to this: