Skip to content

the-road-to-graphql/react-apollo-client-apollo-cache-redux-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-apollo-client-apollo-cache-redux-example

Build Status Slack Greenkeeper badge

A React application using Apollo Client with apollo-cache-redux for state management. Rather than having Apollo Client (apollo-cache-inmemory) and Redux side by side, this library attempts to combine both worlds (Apollo, Redux) to manage local and remote state. Read more about it here.

Installation

  • git clone git@github.com:the-road-to-graphql/react-apollo-client-apollo-cache-redux-example.git
  • cd react-apollo-client-apollo-cache-redux-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?