Integrate
Database
Setting up database in Supabase
Setup Supabase Project
- Create a Supabase account
- Create a new Supabase project in the console.
- Wait for the project to finish launching.
Get Project API keys
- Go to Project Settings ->API. Find your
Project-URL
,anon public
andservice_role
. Copy and paste the values for the keys into your .env.local file.
- Go to Project Settings ->API. Find your
Create your User Tables
- Go to SQL Editor page in the dashboard.
- Copy and Paste the SQL found in
/src/lib/sql/database_setup.sql
and clickRun