Home

Awesome

GitHub GraphQL Relay example application

Demonstrates how to use Relay Modern to build a simple repository listing web view against the GitHub GraphQL API.

<img src="https://cloud.githubusercontent.com/assets/137/18425026/a9929d7a-78f0-11e6-9fd4-f478470ad10b.png" height="500" alt="screenshot">

Running locally

First, you'll need a GitHub API access token to make GraphQL API requests. You can get that here.

$ git clone https://github.com/github/github-graphql-relay-example
$ cd github-graphql-relay-example/
$ API_TOKEN=abc123 yarn start

Once your server is running, you can open http://localhost:3000.

See also