Skip to main content

GraphQLQuery Language with Type Sys/Schema to fetch/mutate (graph-like) data on Backend API/Online API. To fix Overfetch/Underfetch. X-lang

GraphQL type system to describe data schema

GraphQL-based API use single endpoint to query data for

GraphQL fetch query mirrors JSON response shape

GraphQL Schema

type: field ! for required

Resolver

code to resolve GraphQL query & send output back to client

GraphQL needs frameworks like Apollo Client or relay to handle server-side & client caching (or invent your own)

prisma.io

ORM with Node.js & TS - GraphQL Saas?

References

  1. relayDeclarative React Framework to colocate & mutate data via GraphQL

  2. @apollo/client ↔ JS state management lib to manage local/remote data via Declarative GraphQL Data Fetch

  3. GatsbySSG for pure blogs. Next.js alt for pure static sites. 412K vs next 3.5M WDL. GraphQL