joplin-notes/joplin notion extension/Web Development/heroku/supabase.md
2026-11-04 00:33:23 +05:30

16 lines
No EOL
568 B
Markdown

supabase
```js
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/database`
With uri
`postgres://postgres.[project_ref]:[YOUR-PASSWORD]@<host_name>:5432/postgres`
Their database name is postgres and username is postgress along with project reference