Skip to main content

Next Sanity Starter

Next.js and Sanity, wired up

This is the starter we copy at backendforth when a new website begins. One repository holds the site and the Sanity Studio. Content comes in modules, every text exists in English and German, and editors see their changes on the page while they type.

The demo you are looking at runs on the starter without changes to its code. Each feature page below explains one part of it and uses that part on the same page.

The starter has opinions. There is one way to add a content block, one place to configure languages, and a check in CI that fails when the two halves of a module drift apart.

Try it yourself

The code is on GitHub under the ISC license. Get started takes you from git clone to a running site, and Architecture explains how the pieces fit.