4 ms·
There are some guides in the docs which cover Database + Auth + Storage. They take about 10 mins to work through. (For example, with React: https://supabase.io/
by kiwicopple 5y ago
There are some guides in the docs which cover Database + Auth + Storage. They take about 10 mins to work through. (For example, with React: https://supabase.io/docs/guides/with-react https://supabase.io/docs/guides/with-react)
Auth:
const { error } = await supabase.auth.signIn({ email })
Storage:
let { error } = await supabase.storage
.from('avatars')
.upload(filePath, file)