initial
This commit is contained in:
commit
74ae93a96e
1 changed files with 94691 additions and 0 deletions
16
joplin notion extension/Web Development/heroku/supabase.md
Normal file
16
joplin notion extension/Web Development/heroku/supabase.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
Loading…
Reference in a new issue