Wrapping an Existing REST API in GraphQL (Methodology for 1,000,000 Rubles)
summary
A practical case study of wrapping an existing REST API (Wrike) with GraphQL: the talk covers converting Wrike's REST (22 entities, 87 methods) into a GraphQL layer (134 types, 1,002 fields/arguments), handling 51 explicit ID-based relations and 26 implicit reverse relations via filters. It explains the R&D approach used over ~160 hours, shares implementation details, pitfalls and design ideas, and links to the live GraphQL proxy, schema visualization, source code repo, and slides.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:34GraphQL as REST proxy
- 10:24Wrapping REST in GraphQL
- 23:55Building REST wrapper
- 33:47Common GraphQL types
- 46:51Business entity types
- 1:01:01Entry points and relations
- 1:06:07N+1 protection
- 1:13:00Authorization
related talks
46mFrom REST to GraphQL: A 20-Minute Adventure
23mAugmenting a Legacy REST API with GraphQL
30mSchema Design Patterns: Leveraging Existing REST APIs for Rapid GraphQL
54mGraphQL - APIs the New Way
29mFrom REST to GraphQL
30mBeyond REST: GraphQL API Management
56mGraphQL - APIs the New Way
22mWhy Migrate from REST to GraphQL?
