Purpose
The full-suite app is the primary Webyes Auditor dashboard. It gives users:- Accessibility, performance, SEO, and quality audit results
- Scan scheduling and history
- Real User Monitoring (RUM) data
- Uptime monitoring
- Team and organization management
- Subscription billing (Stripe)
- PDF report generation
- Google Search Console integration
Entry Point
App.tsx creates the router and injects context (user email) available to all routes:
Routing Structure
Routes live insrc/routes/. The folder structure maps directly to URL paths.
Route Conventions
Full Route Map
Public Routes
Auth Routes
(auth)/
Protected Dashboard Routes
(protected)/_layout/dashboard/
RUM Routes
(protected)/_layout/dashboard/rum/
Settings Routes
(protected)/_layout/settings/
Off-boarding Routes
State Management
Client State (Zustand)
Location:src/store/client/
Store Pattern:
Server State (TanStack Query)
Location:src/store/server/features/
API Layer
Config:src/lib/api.ts
src/model/:
Authentication Hook
src/hooks/useAuth.tsx:
Environment Variables
Analytics & Monitoring
Injected by the custominjectTags() Vite plugin in vite.config.ts. Only active in staging/production builds, never in dev mode.