This project was bootstrapped with Create React App.
This is an example how to display react repository issues, search issue with title, body and filter issue with status closed or open.
It uses an example Github GraphQL server from https://api.github.com/graphql as the endpoint.
yarn
- Add
.env
file and create you own access token so you can authenticate against github graphql APIREACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN=*****YOUR_TOKEN_GOES_HERE*******
ECMAScript latest
Typescript 4.9 +
React.js
Webpack
GraphQL
Apollo client
yarn
: install dependenciesyarn start
: start the webserveryarn build
: create build file via webpack usingts-loader
yarn test
: run testing based on jest frameworkyarn compile
: generates typesyarn lint:fix
: format code using prettier and fix linting