https://github.com/github/github-graphql-relay-example
Example Relay Modern app using GitHub's GraphQL API
https://github.com/github/github-graphql-relay-example
Last synced: 5 months ago
JSON representation
Example Relay Modern app using GitHub's GraphQL API
- Host: GitHub
- URL: https://github.com/github/github-graphql-relay-example
- Owner: github
- License: mit
- Archived: true
- Created: 2017-05-12T06:03:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T18:23:31.000Z (over 2 years ago)
- Last Synced: 2024-09-30T00:20:39.653Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.45 MB
- Stars: 108
- Watchers: 5
- Forks: 21
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub GraphQL Relay example application
Demonstrates how to use [Relay Modern](https://facebook.github.io/relay/docs/relay-modern.html) to build a simple
repository listing web view against the GitHub GraphQL API.

### Running locally
First, you'll need a GitHub API access token to make GraphQL API requests. You can get that
[here](https://github.com/settings/tokens/new).
```
$ 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
* [Ruby on Rails example using graphql-client](https://github.com/github/github-graphql-rails-example)