c0599e30ab
- Created .gitignore to exclude unnecessary files - Added README.md with installation and usage instructions - Initialized package.json with dependencies and configurations - Set up tsconfig.json for TypeScript compiler options - Implemented basic index.ts file for logging - Added Supabase function structure in ai-structured directory - Created test files for user authentication and function invocation
12 lines
388 B
TypeScript
12 lines
388 B
TypeScript
import { createClient } from '@supabase/supabase-js'
|
|
|
|
export const supabase = createClient(Bun.env.SUPABASE_URL!, Bun.env.SUPABASE_ANON_KEY!)
|
|
/* try {
|
|
const { data, error } = await supabase.auth.signUp({
|
|
email: 'guillermo.arrieta@lasalle.mx',
|
|
password: 'sadfasdfsadfdsasadfsad',
|
|
})
|
|
console.log({ data, error })
|
|
} catch (error) {
|
|
console.log({ error })
|
|
} */ |