react-apollo-graphql-github-example icon indicating copy to clipboard operation
react-apollo-graphql-github-example copied to clipboard

Apollo React example for Github GraphQL API

react-apollo-graphql-github-example

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