Skip to content

Quick Start

Prerequisites

  • Node.js ≥ 20
  • pnpm 10.11.0

Installation

  1. Clone the repository

    Terminal window
    git clone https://github.com/soundbluemusic/public-monorepo.git
    cd public-monorepo
  2. Install dependencies

    Terminal window
    pnpm install
  3. Run an app

    Terminal window
    pnpm dev:context
    # → http://localhost:3003

Project Structure

public-monorepo/
├── apps/ → 3 applications
│ ├── context/ → Korean dictionary (SSR + D1)
│ ├── permissive/ → Web dev resources (SSR)
│ └── roots/ → Math documentation (SSR)
├── packages/ → 10 shared packages
│ ├── core/ → [L0] validation, utils, types
│ ├── config/ → [L0] Vite, Tailwind configs
│ ├── data/ → [L1] Zod schemas, loaders
│ └── ... → More packages
└── data/ → JSON data (SSoT)

Available Commands

CommandDescription
pnpm dev:contextRun Context app
pnpm dev:permissiveRun Permissive app
pnpm dev:rootsRun Roots app
pnpm buildBuild all apps
pnpm lintCheck code with Biome
pnpm typecheckTypeScript type check
pnpm testRun unit tests

Next Steps