Using GitHub's GraphQL API to manage open source projects
summary
Shows how the GitHub V4 GraphQL API is used end to end to build OpenSauced, a React app that stores notes on repositories by querying github.com/graphql, using the GraphQL Explorer for schema discovery and autocomplete, Apollo for client queries and caching, and Graphcool for persisted notes. Demonstrates queries with edges and cursors for pagination (max 100 nodes per page), a mutation example to add reactions, and the real limitation that notifications still require REST, so the prototype works but needs REST fallbacks for missing endpoints. GitHub V4 GraphQL API OpenSauced Apollo Graphcool
AI-written summary · about
chapters (17)
- 0:00Introduction and setup
- 1:17What is GraphQL
- 4:03REST vs GraphQL
- 6:48Queries and mutations
- 8:34GitHub GraphQL Explorer
- 10:17Building OpenSauced
- 13:29Fetching data with GraphQL
- 15:37Documentation and discovery
- 16:39Pagination and edges
- 19:26Aliasing and cursors
- 20:50Mutations in GraphQL
- 21:53Saving data with Graphcool
- 23:17Apollo and GraphQL tooling
- 25:41Mutations in React
- 27:25Missing features and future
- 28:05Resolver functions and schema
- 29:09Project resources and closing
