568 B
568 B
supabase
import { createClient } from '@supabase/supabase-js'
const supabaseUrl = 'https://aywqqxustyxxcztijohc.supabase.co'
const supabaseKey = process.env.SUPABASE_KEY
const supabase = createClient(supabaseUrl, supabaseKey)
- Configurations
In project settings > configurations section > Database
https://supabase.com/dashboard/project/[project ref]/settings/databaseWith uripostgres://postgres.[project_ref]:[YOUR-PASSWORD]@<host_name>:5432/postgresTheir database name is postgres and username is postgress along with project reference