mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 13:38:51 +00:00
12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
import { createClient } from '@supabase/supabase-js';
|
|
|
|
// Types
|
|
import { Database } from '@type/supabase';
|
|
|
|
// Constants
|
|
import { supabaseKey, supabaseUrl } from '@constant/config';
|
|
|
|
const supabase = createClient<Database>(supabaseUrl, supabaseKey!);
|
|
|
|
export default supabase;
|