Web Application
This is the Next.js web application for the cross-platform monorepo.
Getting Started
# From the workspace root
npm run dev:web
Project Structure
apps/web/
├── app/ # Next.js App Router pages
├── components/ # React components
├── lib/ # Utilities and configurations
├── prisma/ # Database schema
└── public/ # Static assets
Shared Packages
This app uses shared packages from the monorepo:
@repo/shared- Types and utilities@repo/api-client- Supabase client@repo/hooks- Shared React hooks@repo/theme- Design tokens
Environment Variables
Copy .env.example to .env.local and configure:
cp .env.example .env.local
Required variables:
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY(or legacyNEXT_PUBLIC_SUPABASE_ANON_KEY)SUPABASE_SECRET_KEY(or legacySUPABASE_SERVICE_ROLE_KEY)