Template

Getting started

Set up the template locally and get the app running in a few minutes.

This is the seed app every new Zybric app is copied from. It comes wired with internationalized routing, SEO/metadata, the shared design system, and an MDX content system (the docs, blog, legal, and author pages you're reading now) — so a new app starts with the plumbing already done.

Prerequisites

  • Node.js and pnpm (see the repo root for the exact versions; pnpm is pinned via packageManager)
  • portless installed globally, for the stable local dev URL

1. Install dependencies

From the repo root:

pnpm install

2. Run the dev server

pnpm dev

The app is served behind portless at a stable HTTPS URL (https://template.zybric.localhost) rather than a numeric port.

3. Make it your own

Copy this app to apps/<your-app>, then rename its package.json name and its portless key. Every variable the app reads is declared and validated in src/env.ts; the per-app values live in the committed .env.

Next steps

Read Project structure for a map of the codebase, then see the Guides for authoring content and tuning i18n/SEO.

On this page