一个🚀React + Apollo + GraphQL GitHub客户端
一个🚀React + Apollo + GraphQL GitHub客户端
JavaScript 其它杂项
访问GitHub主页
共1509Star
详细介绍
A React + Apollo + GraphQL GitHub Client
Features
- React 16 with create-react-app
- Responsive
- React Router 4
- Apollo with GitHub GraphQL API
- Queries and Mutations with render props
- Optimistic Updates
- Pagination
- Optimistic Fetch (e.g. Issues)
- not everywhere for the purpose of demonstrating though
Installation
git clone git@github.com:the-road-to-graphql/react-graphql-github-apollo.git
- cd react-graphql-github-apollo
- add your own GitHub personal access token in a .env file in your root folder
- scopes/permissions you need to check: admin:org, repo, user, notifications
- REACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN=xxxXXX
- npm install
- npm start
- visit
http://localhost:3000
Contributing
- Please install Prettier integration to your editor and turn on format on save option.
Want to learn more about React + GraphQL + Apollo?
- Don't miss upcoming Tutorials and Courses
- Check out current React Courses
推荐源码
暂无源码 更多源码...