Published on August 3, 2020
Over the past few years, we’ve talked a lot about GraphQL’s impact on the way code is written. We released our own GraphQL content API at the end of 2018 for enterprise customers, and now we’ve made our GraphQL content API available to everyone.
GraphQL’s strength lies in its flexibility and specificity. In a single query, you can ask for exactly what you want — regardless of content type — with the help of GraphQL's strongly-typed schema. Applications run faster because compact queries return small responses without unnecessary response data. Developers are happy because this reduces the need for response parsing and additional tooling. Editors, writers and other users are happy because it allows the whole organization to work in a more agile way and everyone can quickly access content from multiple sources.
To celebrate GraphQL hitting general availability, Contentful’s Developer Evangelist Stefan Judis created a free-to-watch course to teach you everything you need to know about GraphQL. He’ll walk you through the process of creating a portfolio site using React and the Contentful GraphQL API.
What GraphQL is and why you should use it
How to get started with your first GraphQL projects using React hooks
How to take advantage of the Contentful GraphQL API
How to integrate Contentful Rich Text
What is GraphQL?
Exploring GraphQL endpoints using GraphiQL
Fetching component data using useState and useEffect
Environment variables in create-react-app
Writing a custom Contentful hook
Catching GraphQL API errors
Nailing down components with React PropTypes
Image transformation using Contentful's Images API
Rendering of Contentful Rich Text
Contentful references in GraphQL
GraphQL fragments and query complexity
Previewing data with GraphQL query variables
Dynamic responses with GraphQL directives
Outro and additional resources
Head over to our GraphQL course page, and please reach out via the Contentful Community Slack if you need any help.
Subscribe for updates
Build better digital experiences with Contentful updates direct to your inbox.