Skip to content
Example Relay Modern app using GitHub's GraphQL API
JavaScript CSS HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Switch to webpack-config-github Nov 17, 2017
src Use graphql tools for managing schema and tokens Nov 17, 2017
.babelrc Remove relay compat flag Nov 20, 2017
.eslintrc.json Add ESLint configuration Nov 15, 2017
.gitignore Fix missing dep Nov 17, 2017
.graphqlconfig Use graphql tools for managing schema and tokens Nov 17, 2017
LICENSE Initial commit May 12, 2017
README.md Use graphql tools for managing schema and tokens Nov 17, 2017
package.json Fix missing dep Nov 17, 2017
prettier.config.js Add ESLint configuration Nov 15, 2017
webpack.config.js Switch to webpack-config-github Nov 17, 2017
yarn.lock Fix missing dep Nov 17, 2017

README.md

GitHub GraphQL Relay example application

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

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

You can’t perform that action at this time.