Successfully reported this slideshow.
Your SlideShare is downloading. ×

GraphQL Schema Stitching with Prisma & Contentful

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 20 Ad

More Related Content

Slideshows for you (20)

Similar to GraphQL Schema Stitching with Prisma & Contentful (20)

Advertisement

Recently uploaded (20)

Advertisement

GraphQL Schema Stitching with Prisma & Contentful

  1. 1. GraphQL Schema Stitching with Prisma & Contentful @nikolasburk
  2. 2. Nikolas Burk Based in Berlin Developer at @prisma @nikolasburk@nikolasburk
  3. 3. GraphQL introduction What are GraphQL bindings? Schema stitching /w GraphQL bindings Agenda 1 2 3 @nikolasburk
  4. 4. Introduction @nikolasburk
  5. 5. What is GraphQL? New API standard developed by Facebook Specficiation for type system & query language Core primitives: Query, Mutation & Subscription
  6. 6. Why use GraphQL? Strongly typed schema for your API Query exactly the data you need Rich ecosystem, smooth workflows and great community
  7. 7. query { user(id: “user123”) { name posts { title } } } HTTP POST { "data" :{ "user": { "name": "Sarah", "posts": [ { "title": "Join us for GraphQL Europe" }, { "title": "GraphQL is the future of APIs" }, ] } } }
  8. 8. Learn more 💡 https://blog.graph.cool/b60cfa683511 Top 5 Reasons To Use GraphQL https://www.howtographql.com/basics/0-introduction/ GraphQL Introduction @nikolasburk
  9. 9. 🍿 Demo 1 Exploring the Contentful GraphQL API
  10. 10. What are GraphQL bindings? @nikolasburk
  11. 11. Schema-specific & typed GraphQL client Send queries by invoking dedicated functions Auto-generated SDK for a GraphQL API GraphQL bindings
  12. 12. 🍿 Demo 2 Talking to Contenful’s API with GraphQL bindings
  13. 13. Schema stitching with GraphQL bindings @nikolasburk
  14. 14. Compose multiple GraphQL APIs into a single one Merge schemas vs Pick & Choose Uses schema delegation under the hood Schema Stitching
  15. 15. Turns your database into a GraphQL API Glue between server and database Goal: Make it easy to build complex apps Headless CMS API is consumed directly by client apps Goal: Make content management easy
  16. 16. 🍿 Demo 3 Schema Stitching with Prisma & Contentful
  17. 17. Thank you 🙏 @nikolasburk@nikolasburk

×