A full-stack template built with:
- TypeScript
- Next.js
- Sanity
- Storybook
- Vitest
- Turborepo
- Tailwind CSS
- Biome
- Node >= 22.14.0
- PNPM >= 10.14.0
- Clone the repository
git clone git@github.com:vueza/create-sanity-app.git
- Setup environment variables
cp apps/cms/.env.example apps/cms/.env cp apps/docs/.env.example apps/docs/.env cp apps/web/.env.example apps/web/.env
- Install dependencies
pnpm install
- Run development
pnpm dev
pnpm build: Builds the project using Turbopnpm check-types: Runs type checking across the projectpnpm clean: Removes build artifacts, Turbo cache, and node modulespnpm coverage: Runs test coverage reportpnpm dev: Starts development serverpnpm editorconfig-checker: Checks EditorConfig file formattingpnpm lint: Runs Biome code lintingpnpm preinstall: Ensures pnpm is used as the package managerpnpm prepare: Installs Git hooks via Lefthookpnpm syncpack-fix-mismatches: Fixes package dependency mismatchespnpm syncpack-format: Formats package configurationpnpm syncpack-lint: Lints package configurationpnpm syncpack-update: Updates package dependenciespnpm test: Runs test suitepnpm ui: Runs tests in interactive UI mode with watchpnpm gen component: Creates a Sanity schema, Storybook component and React UI component
apps/cms: Sanity Studioapps/docs: Storybookapps/web: Next.js
packages/config-tailwind: Shared Tailwind CSS configurationpackages/config-typescript: Shared TypeScript configurationpackages/internalization: Internationalizationpackages/migration: Migrationpackages/ui: Shared React UI component library
- Storybook - http://localhost:6006
- Web - http://localhost:3000
- Sanity - http://localhost:3333