first commit

This commit is contained in:
Leonardo
2026-02-18 22:36:45 -03:00
parent ec6b6ef53a
commit 676042268b
122 changed files with 26354 additions and 1615 deletions
+18
View File
@@ -0,0 +1,18 @@
import { supabase } from '@/lib/supabase/client'
export const signIn = async (email, password) => {
return await supabase.auth.signInWithPassword({ email, password })
}
export const signUp = async (email, password) => {
return await supabase.auth.signUp({ email, password })
}
export const signOut = async () => {
return await supabase.auth.signOut()
}
export const getUser = async () => {
const { data } = await supabase.auth.getUser()
return data.user
}