Powerful REST in a GraphQL world
summary
A startup workflow replaces fragile REST guesses with TypeScript, Monaco/VSCode-in-the-browser docs and a CLI that codegens real React hooks from OpenAPI. The team builds "RESTful React" (useGet/usePost hooks), demos fetching from Dog CEO and Giphy, and achieves end-to-end type safety so wrong JSON shapes fail at compile time. Tooling includes TypeScript generics, a CLI importer, and Monaco editor; outcome: generated APIs work in practice and prevent whole classes of runtime errors. OpenAPI → generated React hooks
AI-written summary · about
chapters (8)
- 0:00Intro
- 5:28Styleguideist
- 10:36Typescript
- 12:16The problem with REST
- 14:33GraphQL
- 16:43Why GraphQL
- 19:54Demo
- 23:42Code Gen
related talks
28mStrong RESTful Contracts in a GraphQL world
30mUsing Hooks and Codegen
27mWeb applications of the future with TypeScript and GraphQL
30mReact Superpowers with GraphQL and TypeScript
22mAutomate your stack with GraphQL
35mFull-stack Type Safety with React, GraphQL, and TypeScript
25mWeb applications of the future with TypeScript and GraphQL
27mTake a rest from REST
