This repository is scaffolded for Story 0.1 with explicit frontend, backend, and test directories.
- apps/web: Vite + React + TypeScript frontend
- apps/api: minimal Node API scaffold
- e2e: placeholder folder for end-to-end tests (expanded in Story 0.2)
- Node 20.19+
- npm 10+
- Install dependencies from the workspace root:
npm run install:all
- Start frontend dev server from the workspace root:
npm run dev:web
- (Optional) Start API scaffold:
npm run dev:api
Lockfile strategy:
- Use the root
package-lock.jsonas the single source of truth for workspace installs. - Run installs from the repository root (
npm run install:allornpm install).
npm run lintnpm run test(web + api + e2e)npm run test:web(Vitest unit/integration)npm run test:e2e(Playwright)npm run build
- Story 0.2 configures Vitest in
apps/webfor unit/integration baselines. - Story 0.2 configures Playwright in
e2efor browser smoke coverage. - First-time Playwright setup requires browser install:
npx playwright install chromium