A hands-on course · 15 lessons · about 3.4 hours

Contentful
from Scratch

Build a Learn Hub where writers publish in Contentful and an Astro site updates itself. Then use what you built to decide if a headless CMS is right for your team.

What you'll build

A Learn Hub: courses, lessons, and authors that live in Contentful and render as a fast static site. Editors write and click Publish. A webhook rebuilds the site. Drafts show up on a private preview URL first.

You'll finish with a working prototype, a migration script in git, and a one-page fit report with real numbers. The last lesson shows you how to talk about the project in a technical interview.

New to Astro? Take Astro from Scratch first. This course starts where it ends.

What you'll learn

  1. 01Design a content model with references and validations
  2. 02Read content with the Delivery, Preview, and GraphQL APIs
  3. 03Load Contentful entries into Astro content collections
  4. 04Render rich text, embedded code samples, and resized images
  5. 05Rebuild the live site when an editor publishes
  6. 06Give editors a private preview site for drafts
  7. 07Change the content model with reviewed migration scripts
  8. 08Write a fit report that says if Contentful suits your team
  9. 09Talk about the whole project in a technical interview

Before you start

Lessons

Progress saves in this browser as you mark lessons complete.