Earlier, we’ve seen how we can use the gatsby-source-wordpress plugin to retrieve blog posts using the WordPress API. In this tutorial, we’ll explore another possible source of information that Gatsby can use, such as JSON.
Posts tagged with GraphQL
For Markdown, there are plugins to add syntax highlighting to your Gatsbby website. In this tutorial we’ll explore the alternatives for adding syntax highlighting through WordPress.
Displaying embedded images within WordPress posts using Gatsby is officially unsupported, but in this tutorial we’ll explore alternatives.
Popular online blogging platforms like Medium add an estimated reading time to each post. In this tutorial we’ll achieve the same thing by using Gatsby.
Gatsby is an awesome static site generator, and in this tutorial I’ll look at how to implement pagination using Gatsby.
Gatsby has a large set of APIs, and one of them is to programmatically create new pages. In this tutorial we’ll use this API to create detail pages for each blogpost.
If you want to use WordPress as a headless CMS with Gatsby, I’ll demonstrate how you can achieve this in this tutorial.
Last time, I wrote a simple Vue application using dummy data in our components. Today, we’re going to link it to the Apollo GraphQL API that I wrote earlier. As said before, Apollo has both a server-component that can integrate with Express, but also a client component that can integrate with Angular, React but also […]
Last time, we created a GraphQL API with Node.js, Express, Mongoose and Apollo. However, one of the fields we tried to use was the createdAt date. Since GraphQL doesn’t come with a date-based scalar type, we used a simple String. However, the result of that is that it calls the Date.prototype.toString() function which returns a […]
A while back, I wrote a tutorial about creating a GraphQL API using Java, followed by a web application using Angular and Apollo. Back then, I also mentioned that Apollo has a server-side part as well, which allows you to create GraphQL API’s on Node.js. And today, we’re going to explore that option!