Files
zpan/pnpm-workspace.yaml
T
saltbo c6f94dcb43 feat: scaffold v2.0 monorepo with working auth flow
pnpm workspace monorepo with three packages:
- @zpan/server: Hono + Better Auth + Drizzle, dual entry (CF Pages / Node.js)
- @zpan/web: React 19 + Vite + TanStack Router + shadcn/ui
- @zpan/shared: TypeScript types and Zod schemas

Working features:
- Email/password registration and login via Better Auth
- Session-based auth with cookie management
- Authenticated route guard (redirects to /sign-in)
- Sidebar navigation (Files, Recycle Bin, Storage Backends, Users, Settings)
- Placeholder pages for all navigation items
- Vite proxy for local dev (/api/* -> server)
- Platform abstraction for CF D1 and Node.js SQLite

All 5 Playwright E2E tests passing:
- Auth redirect, sign-up, sign-in, sidebar, page navigation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 21:34:16 -04:00

3 lines
27 B
YAML