GraphQL Without a Database
summary
Shows how to wrap existing REST/OpenAPI endpoints into a single GraphQL endpoint using Node.js and TypeScript with Apollo Server and Apollo Client. Describes an automated translator that converts OpenAPI/REST definitions into a GraphQL schema and generates resolvers wired to the REST endpoints, demos nested queries and pagination, and discusses cache and performance tradeoffs while noting this avoids rewriting controllers or touching databases.
AI-written summary · about
chapters (9)
- 0:00GraphQL without DB
- 2:15DBs vs GraphQL
- 6:07GraphQL server impls
- 9:00Schemas without DB
- 12:13Resolvers and queries
- 15:03Simplifying GraphQL
- 17:32Customizing servers
- 19:16Querying categories
- 20:43Final thoughts
related talks
59mGoodbye REST; Hello GraphQL
37mGraphQL — A New Look at the API
26mSponsored Session: From Prototype to Production: Building Custom GraphQL APIs
01h 02mGoodbye REST APIs. Hello GraphQL!
33mGraphQL Will Do To REST What JSON Did To XML
25mType-safe GraphQL with TypeScript
41mIntroduction to GraphQL
23mGradually Adopt GraphQL Without Writing any Backend Code
