mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 19:05:06 +03:00
13 lines
546 B
TypeScript
13 lines
546 B
TypeScript
import { createClient } from '@supabase/supabase-js'
|
|
import { Database } from './database.types'
|
|
|
|
const SUPABASE_URL = 'https://obuldanrptloktxcffvn.supabase.co'
|
|
const SUPABASE_ANON_KEY =
|
|
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2Njk3MjcwMTIsImV4cCI6MTk4NTMwMzAxMn0.SZLqryz_-stF8dgzeVXmzZWPOqdOrBwqJROlFES8v3I'
|
|
|
|
const supabase = createClient<Database>(SUPABASE_URL, SUPABASE_ANON_KEY)
|
|
|
|
export type SupabaseClient = typeof supabase
|
|
|
|
export default supabase
|