Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.92 KB

File metadata and controls

35 lines (24 loc) · 1.92 KB

Zero Music

This repo is a small, self-contained playground for the Zero tutorial.

Branches

Repo tour

  • apps/web: TanStack Start app (UI + API routes).
  • packages/db: Drizzle DB schema + Postgres migrations/seed data.
  • packages/zero: Zero schema, queries, and mutators.

Key files

Run it (optional)

Prereqs: Bun + Docker.

  • Copy env file: cp .env.example .env
  • Install deps: bun install
  • In one terminal, start Postgres (includes schema + seed data): docker compose up
  • In another terminal, start the web app: bun dev

On 1-install, the zero-cache-dev command will also be run when you run bun dev. It defaults to running on http://localhost:4848 but can be configured via the VITE_ZERO_SERVER environment variable.