Add initial project files including .gitignore, README, package.json, and TypeScript configuration
- 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
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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 })
|
||||
} */
|
||||
Reference in New Issue
Block a user