Skip to content

Latest commit

 

History

History

marmite

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Marmite

A small recipe app combining Next.js with Contentful.

Demo

See Demo deployed on Vercel

Features

  • building a content model and adding recipes on Contentful.
  • configuring Contentful client in a Next.js project.
  • outputting recipe data with getStaticProps.
  • using images from Contentful with next.config.js.
  • customizing the layout with styled JSX.
  • generating paths for recipe details with getStaticPaths.
  • rendering formatted content with Contentful rich text renderer.
  • handling incremental static regeneration with revalidate.
  • displaying a skeleton to handle server-side rendering on new recipes.
  • building a custom 404 page and redirecting users.
  • creating a Vercel deploy hook to trigger builds from Contentful.
  • deploying to Vercel.

Based on Next.js & Contentful Site Build Tutorial by Shaun Pelling - The Net Ninja (2021).