react-graphql-github-vanilla
react-graphql-github-vanilla copied to clipboard
A React GraphQL example using GitHub's GraphQL API with vanilla JS
react-graphql-github-vanilla
A simple React application consuming the GitHub GraphQL API with plain HTTP requests. Read more about it over here.
Features
- React 16 with create-react-app
- GitHub GraphQL API
- Consuming GraphQL with plain JS
- no Apollo/Relay
Installation
-
git clone [email protected]:the-road-to-graphql/react-graphql-github-vanilla.git
- cd react-graphql-github-vanilla
- 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?
- Don't miss upcoming Tutorials and Courses
- Check out current React Courses