DEV Community

Cover image for Exploring GraphiQL and adding Netlify Contentful Webhook
Wiz Lee
Wiz Lee

Posted on

Exploring GraphiQL and adding Netlify Contentful Webhook

Adding my old portfolio site as one of the project in my current portfolio site took much less time than expected. Thus, quickly proceed with the stretch goal mentioned in previous post.

First, proceed with triggering Netlify deploy whenever content is published in Contentful. The steps are well stated in this netlify blog post - Automate Contentful Deploys With Netlify Webhooks.

Then, I continue with exploring the Gatsby GraphiQL explorer. Despite some getting used to at the start, got the graphql query for dev.to articles to work quickly by using the gatsby-source-dev gatsby plugin.
Alt Text

The cover image of this post shows the graphql query that will be used to automatically show my latest articles in wizlee.dev. Next is to implement these as a static query!

Latest comments (0)