Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (30 loc) · 1.52 KB

File metadata and controls

37 lines (30 loc) · 1.52 KB

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