This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.

12 lines
342 B
TypeScript
Raw Normal View History

2024-03-15 22:48:28 +01:00
import { createClient } from "@supabase/supabase-js"
import type { Database } from "./supabase-types"
const SUPABASE_URL = process.env["EXPO_PUBLIC_SUPABASE_URL"] ?? ""
const SUPABASE_ANON_KEY = process.env["EXPO_PUBLIC_SUPABASE_ANON_KEY"] ?? ""
export const supabaseClient = createClient<Database>(
SUPABASE_URL,
SUPABASE_ANON_KEY,
)