Understand the project structure
mainThe project follows a standard Next.js 14 App Router structure with specialized directories for services and configuration:
app/: Contains the Next.js application logic, including API routes (api/email/send,api/stripe,api/user), authentication pages (auth/), and user-facing views (dashboard/,pay/,profile/).components/: Reusable UI components.contexts/: React Context providers for state management.emails/: React Email templates.hooks/: Custom React hooks.services/: The service layer (e.g.,emailService).supabase/: Supabase-specific logic, including Edge Functions (functions/) and SQL migration scripts (scripts/setup/).types/: TypeScript definitions..cursor/: Contains MCP configurations (mcp.json).