Skip to content

Getting Started

Prerequisites

  • Node.js >= 20
  • pnpm >= 9

Setup

Terminal window
# Clone the repository
git clone <repo-url>
cd apps
# Install dependencies
pnpm install
# Build all packages
pnpm turbo build
# Run all tests
pnpm turbo test
# Type check everything
pnpm turbo typecheck
# Lint everything
pnpm turbo lint

Development

Running a specific product

Terminal window
# Start the example web app (port 3000)
pnpm --filter @repo/example-web dev
# Start the example backend (port 8787)
pnpm --filter @repo/example-backend dev
# Start the docs site
pnpm --filter @repo/docs dev

Running everything

Terminal window
pnpm turbo dev

Creating a New Product

Use the generator script:

Terminal window
npx tsx scripts/gen-product.ts

Follow the prompts to select your product name and platforms.