You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SUPABASE_PRIVATE_KEY=your_supabase_service_role_jwt# Backend only - JWT token (starts with eyJ...) from "service_role" in API settings, NOT the database secret!
15
14
16
-
# Public Supabase keys for frontend (safe to expose)
15
+
# Public Supabase keys (safe to expose, used by both frontend and backend)
17
16
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url# Same as SUPABASE_URL
18
-
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key# Found under "anon public" in API settings
17
+
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=your_supabase_publishable_key# Publishable key for Realtime broadcasts (both client & server use this for listening)
18
+
19
+
# Optional: Only needed if sending broadcasts FROM the backend (not used in this app)
20
+
# SUPABASE_SECRET_KEY=your_secret_key # Secret key - only for sending broadcasts from trusted server
@@ -289,4 +308,4 @@ This demo showcases several advanced patterns:
289
308
3.**Hybrid Architecture**: Combining platforms for optimal performance
290
309
4.**No Re-cloning**: Solving a real performance problem in AI-powered dev tools
291
310
292
-
The architecture prioritizes Trigger.dev's strengths (task orchestration, streaming) while using Supabase minimally for coordination, making it an excellent showcase of Trigger.dev v4 capabilities.
311
+
The architecture prioritizes Trigger.dev's strengths (task orchestration, streaming) while using Supabase minimally for coordination, making it an excellent showcase of Trigger.dev v4 capabilities.
0 commit comments