yarn setup to use real services - no code changes needed.
How It Works
Available Mocks
| Service | Mock Behavior |
|---|---|
| Supabase | Auth, database, storage, realtime - all in-memory |
| Convex | Auth, queries, mutations - all in-memory |
| PostHog | Events logged to console, feature flags return false |
| Sentry | Errors logged to console |
| RevenueCat | Purchases always succeed, dev menu toggle for pro status |
Backend Mocks
- Supabase
- Convex
Other Service Mocks
RevenueCat
PostHog
Events logged to console with[MockPostHog] prefix. Feature flags return false by default.
Sentry
Errors logged to console with[MockSentry] prefix instead of being sent to Sentry.
Console Logging
All mock operations log to console:Limitations
- Data clears on app restart
- Security policies (RLS, function auth) not enforced
- Network performance not simulated
- Realtime subscriptions simulated locally
yarn setup.
Switching to Real Services
apps/app/.env:
- Supabase
- Convex
yarn start --clear
