react-apollo-graphql-github-example

November 14, 2017 ยท View on GitHub

Apollo React example for Github GraphQL API with create-react-app

Prerequisites

Install

git clone https://github.com/katopz/react-apollo-graphql-github-example.git
cd react-apollo-graphql-github-example
npm i

Config

  • Copy config.default.js into a file called config.js, and replace xxx with your username and password
  • Replace GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET with your credential.

Develop

npm start

For VSCode you can press F5 to run :)

More examples

Referer