Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React GitHub GraphQL Search

This project was based on Building a GraphQL Project with React.js by Ray Villalobos.

Key differences:

  • Converted to TypeScript
  • Added debouncing to ensure we don't fire off too many requests
  • Added db.js.example to make setup easier
  • Consolidated a bunch of the search configuration options into a single state variable to pass around/validate

Setup

  1. Generate a personal access token to be able to make API requests to Github's GraphQL.

Permissions should be read-only:

  • repo (all of them)
  • user (all of them)
  1. Copy db.js.example to ./src/config/db.ts
cp ./db.js.example ./src/config/db.ts
  1. Adjust ./src/db.js to use your auth token where it has the placeholder <github_auth_token>

  2. Start it up

npm start

About

GitHub repo search based on the LinkedIn Learning series "Building a GraphQL Project with React.js" by Ray Villalobos.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages