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.

Home Page:https://www.robinwieruch.de/react-apollo-client-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

About

A minimal React application which is powered by Apollo Client and GitHub's GraphQL API with prefetching data.

https://www.robinwieruch.de/react-apollo-client-example


Languages

Language:JavaScript 80.5%Language:HTML 17.0%Language:CSS 2.5%