Strong RESTful Contracts in a GraphQL world
summary
Claim: REST can get GraphQL-like guarantees by generating types and hooks from OpenAPI. Uses TypeScript, OpenAPI/Swagger and a restful-react CLI that cogenerates hooks in about 1.53 seconds. Demo hits Dog CEO and Giphy APIs, produces fully typed useRandomGif/useGet hooks, and renders a real GIF after adding the API key. Result is end-to-end type safety for REST in React and a one‑day side project that actually works.
AI-written summary · about
chapters (5)
related talks
30mPowerful REST in a GraphQL world
27mWeb applications of the future with TypeScript and GraphQL
25mWeb applications of the future with TypeScript and GraphQL
30mReact Superpowers with GraphQL and TypeScript
41mDemand Driven Applications with GraphQL by Vinci Rufus
12mtRPC: Better than REST GraphQL?
30mUsing Hooks and Codegen
35mFull-stack Type Safety with React, GraphQL, and TypeScript
