Content Deep Dive
Getting started with Contentful and GraphQL
Blog post from Contentful
Post Details
Company
Date Published
Author
Amelia Winger-Bearskin
Word Count
1,073
Language
English
Hacker News Points
-
Summary
I've set up a content model in Contentful and created the content type "dogToy" with fields like toyName, toyPhoto, puppyPhoto, estimatedPrice, and linkToBuy. I used GraphiQL to write my first GraphQL query and explore the schema of my Contentful space. I learned how to use transformations to resize images and how to fetch all dog toys using a different query field called "dogToyCollection". With this knowledge, I can now build powerful tools like GraphiQL and leverage my API's type system to control the data I get from my server.