Skip to content

issue-first/github-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issue First

Search for issues labeled good-first-issues, help-wanted and a-bug using Github's GraphQL and REST APIs.

Build Status

Using the App to Find Open Issues

  • Search for github queries by the issue tags.
  • Easily find good-first-issues, help-wanted, and a-bug issues tagged in open source projects.

Using the App to Compare GraphQL vs REST

  • Search with GitHub API v4 GraphQL, or v3 REST
    • compare how queries are formatted
    • compare pagination techniques for both API reponses
  • View the network tab
    • See the response from github vs graphQL
    • Compare amount of time and data transfered

Setting up the App

  • clone the repository
  • cd into github-graphql
  • npm i
  • Add your github token in .env REACT_APP_GIT=github-token-here

Starting the App

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build Builds the app for production to the build folder.

See react documentation about deployment.

Deployment info has moved here: https://facebook.github.io/create-react-app/docs/deployment

Resources Utilized:

Tests:

  • Assertions made:
    • Query was called on click
    • Query called was correct query
    • ApolloConsumer was rendered
  • Assertions that need to be made:
    • REST endpoint data renders
    • The correct number of cards were rendered

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •