Gatsby & Wordpress - 5.2. Gatsby Node.js Structures

Опубликовано: 14 Июль 2026
на канале: whatjackhasmade
486
7

Article on Video (formatted description) - https://whatjackhasmade.co.uk/gatsby-...

In this video, we explore the Gatsby.node.js file that programmatically generates our Gatsby pages.

We separate each Post type into its own custom asynchronous NodeJS function which will query our internal schema and then map over the JSON results to create our pages.

Originally we did all of this in one large ugly file, at the end of the video we will have a structured file setup for our Gatsby environment which will make it easier to maintain and contribute towards.