https://github.com/the-road-to-graphql/react-apollo-client-prefetching-example
A minimal React application which is powered by Apollo Client and GitHub's GraphQL API with prefetching data.
https://github.com/the-road-to-graphql/react-apollo-client-prefetching-example
apollo apollo-client apollographql react react-apollo reactjs
Last synced: 4 months ago
JSON representation
A minimal React application which is powered by Apollo Client and GitHub's GraphQL API with prefetching data.
- Host: GitHub
- URL: https://github.com/the-road-to-graphql/react-apollo-client-prefetching-example
- Owner: the-road-to-graphql
- Created: 2018-06-15T09:12:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T08:42:34.000Z (about 5 years ago)
- Last Synced: 2025-02-16T07:04:12.391Z (4 months ago)
- Topics: apollo, apollo-client, apollographql, react, react-apollo, reactjs
- Language: JavaScript
- Homepage: https://www.robinwieruch.de/react-apollo-client-example
- Size: 1.26 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# react-apollo-client-prefetching-example
[](https://travis-ci.org/the-road-to-graphql/react-apollo-client-prefetching-example) [](https://slack-the-road-to-learn-react.wieruch.com/) [](https://greenkeeper.io/)
A minimal React application using Apollo Client with GitHub's GraphQL API. As example **Apollo Client's prefetching feature** is implemented.
## Installation
* `git clone [email protected]:the-road-to-graphql/react-apollo-client-prefetching-example.git`
* cd react-apollo-client-prefetching-example
* npm install
* [add your own REACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN in .env file](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
* scopes/permissions you need to check: admin:org, repo, user, notifications
* npm start
* visit `http://localhost:3000`## Want to learn more about React + GraphQL + Apollo?
* Don't miss [upcoming Tutorials and Courses](https://www.getrevue.co/profile/rwieruch)
* Check out current [React Courses](https://roadtoreact.com)