Skip to content

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

License

Notifications You must be signed in to change notification settings

levijackson/react-graphql

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published