Skip to content

Groundwork

How it's built

Groundwork is a Next.js starter for developers who build local-business marketing sites. It includes pages, a token theme, contact mail, sign-in, and a Stripe billing sample. A subscription for one developer seat opens December 7, 2026. Join the waitlist.

The pieces below are already connected.

Application stack

The site is a Next.js App Router application on React 19 and TypeScript, styled with Tailwind CSS 4. Marketing pages and the signed-in dashboard share one theme.

Two config files

The business name, contact details, and search identity live in one file. Navigation, the header call to action, the footer, and the legal links live in another. A rebrand starts there.

Generated theme

Design tokens are the source of color and type. Dev and production builds generate the theme stylesheet from those tokens, so the brand is not copied into each component.

Sessions

Sign-in uses Supabase Auth with cookie sessions. Google and the email magic link both return through one callback, and the session is refreshed on each request before a protected page renders.

Plan state

Stripe Checkout starts a subscription, and the customer portal changes it later. A signed webhook stores the event id once, then writes the plan. Pro access is an active or trialing subscription. Row level security keeps each account on its own rows.