No description
  • JavaScript 85%
  • CSS 10.2%
  • HTML 4.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-08-25 11:23:23 -07:00
public Switch to webpack-config-github 2017-11-17 14:46:12 -08:00
src Use graphql tools for managing schema and tokens 2017-11-17 14:58:30 -08:00
.babelrc Remove relay compat flag 2017-11-20 12:31:36 -08:00
.eslintrc.json Add ESLint configuration 2017-11-14 18:57:19 -08:00
.gitignore Fix missing dep 2017-11-17 15:00:54 -08:00
.graphqlconfig Use graphql tools for managing schema and tokens 2017-11-17 14:58:30 -08:00
LICENSE Initial commit 2017-05-11 23:52:55 -07:00
package.json Fix missing dep 2017-11-17 15:00:54 -08:00
prettier.config.js Add ESLint configuration 2017-11-14 18:57:19 -08:00
README.md Use graphql tools for managing schema and tokens 2017-11-17 14:58:30 -08:00
webpack.config.js Switch to webpack-config-github 2017-11-17 14:46:12 -08:00
yarn.lock Bump semver from 5.4.1 to 5.7.2 2023-07-11 07:26:14 +00:00

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