DEV Community

loading...
Cover image for Exploring GraphiQL and adding Netlify Contentful Webhook

Exploring GraphiQL and adding Netlify Contentful Webhook

wizlee profile image Wiz Lee ・1 min read

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!

Discussion (0)

pic
Editor guide