Initialize Supabase Next app

This commit is contained in:
2026-05-23 13:24:39 -06:00
parent c9038a8f3c
commit 5bed4dcf11
56 changed files with 9851 additions and 3 deletions

11
lib/supabase/client.ts Normal file
View File

@@ -0,0 +1,11 @@
import { createBrowserClient } from "@supabase/ssr";
import { getSupabaseEnv } from "@/lib/supabase/env";
export function createClient() {
const { supabaseUrl, supabasePublishableKey } = getSupabaseEnv();
return createBrowserClient(
supabaseUrl,
supabasePublishableKey,
);
}