supabase-client.ts 264 B

123456
  1. import { createClient } from '@supabase/supabase-js';
  2. // Create a single supabase client for interacting with your database
  3. export const supabaseClient = createClient(
  4. process.env.NEXT_PUBLIC_SUPABASE_URL || '',
  5. process.env.SUPABASE_SERVICE_ROLE_KEY || '',
  6. );