Sample Apollo + React application for fetching latest issues from facebook/react Github repository using Github GraphQL API (v4).
- Clone this repository
- Execute
yarn install
- Create
.env.development.local
file with your Github API token assigned to an env variable e.g.REACT_APP_GH_TOKEN=0c0173asdfasdf4eae8d51b9de4cb0d3d
- Execute
yarn start
and (in another console)yarn test
- Execute
yarn build
to create release
- input for custom Github token (or better OAuth integration)
- input for repository URL (support other repositories than facebook/react)
- issues pagination (support more than 20 latest issues)
- refresh button
- nicer UI
- save issue open/close state through page refereshes (e.g. in LocalStorage)
- Flow typings
author: Jan Grzegorowski