Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.28 KB

File metadata and controls

20 lines (14 loc) · 1.28 KB

react-apollo-client-prefetching-example

Build Status Slack Greenkeeper badge

A minimal React application using Apollo Client with GitHub's GraphQL API. As example Apollo Client's prefetching feature is implemented.

Installation

  • git clone git@github.com: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
    • 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?