Enriching Commerce Data In Headless Architectures
summary
Shows how to merge a Saleor GraphQL API and a local Strapi GraphQL API into one unified schema using Next.js API routes, Nexus, and Apollo Server. Uses schema stitching with the Guild’s graphql-tools to extend Saleor’s Product type and delegate a resolver that queries Strapi by a matching field (example field added in Strapi: saleor_id). Demo repository returns enriched product objects (Saleor fields plus Strapi cmsData) and runs successfully in the live demo.
AI-written summary · about
chapters (10)
- 0:00Introduction to speaker
- 0:36Headless commerce concept
- 2:57Introduction to Saleor
- 4:40Schema stitching overview
- 7:24Benefits of schema stitching
- 10:33Setup and demo environment
- 15:00Stitching configurations
- 18:26Code implementation
- 25:46Q&A and next steps
- 26:40Federation vs stitching
related talks
19mSupport unlimited customer experiences with GraphQL
59mGoodbye REST; Hello GraphQL
36mBuilding a GraphQL API with Laravel
01h 26mTightening the Full-Stack Development Loop with Nexus and Prisma
26mSponsored Session: From Prototype to Production: Building Custom GraphQL APIs
43mGraphQL as a Data Layer for Your UI
08mGoing From Zero to Building Multi-Region GraphQL Applications
32mModernize development and activate legacy data with GraphQL
