Gatsby & Drupal
summary
Shows a working decoupled setup: Drupal exposes content via JSON API, Gatsby pulls it with gatsby-source-drupal into GraphQL at build time and generates static HTML while still shipping a React app for hydration. Demonstrates OAuth/Simple OAuth for auth, Contenta as a starter distro, techniques used (route-based code splitting, image variants, prefetching) and a hybrid pattern where anonymous builds include teasers while client-side requests fetch protected body content after React hydrates the page.
AI-written summary · about
chapters (14)
- 0:00Introduction to Gatsby & Drupal
- 4:57Why use Gatsby at Drupal events
- 7:49What is Gatsby and its benefits
- 10:19Why blazing fast websites matter
- 13:52Gatsby's built-in performance features
- 17:42Static site generation with Gatsby
- 22:21Why Drupal pairs well with Gatsby
- 26:35Setting up Drupal for Gatsby
- 31:34Sourcing data from Drupal to Gatsby
- 35:11Handling access control in Gatsby
- 36:35Gatsby as a progressive web app
- 41:58Hybrid pages and client-only routes
- 46:52Live demo of Gatsby with Drupal
- 49:00Key takeaways and resources
