Add Auth + Layout&Components

This commit is contained in:
Michael
2021-06-14 22:15:54 +02:00
parent 61a5453ac8
commit dcdb384d2b
13 changed files with 370 additions and 78 deletions

6
utils/supabaseClient.js Normal file
View File

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