katopz / react-apollo-graphql-github-example

Apollo React example for Github GraphQL API

Home Page:https://medium.com/@katopz/github-graphql-api-react-example-eace824d7b61

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Apollo React example for Github GraphQL API

https://medium.com/@katopz/github-graphql-api-react-example-eace824d7b61

License:MIT License


Languages

Language:JavaScript 75.9%Language:HTML 17.8%Language:CSS 6.3%