Added supabase and basic role management

This commit is contained in:
Alexis
2024-05-06 18:28:13 +02:00
parent 521b3530a3
commit 4ee412ee0c
23 changed files with 613 additions and 39 deletions

6
src/supabase/client.ts Normal file
View File

@@ -0,0 +1,6 @@
import { createClient } from '@supabase/supabase-js'
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY
export const supabase = createClient(supabaseUrl, supabaseAnonKey)