- Execute the SQL scripts in Supabase to create tables, function, and trigger.
- Execute the following command:
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
- Activate "Realtime" for all tables.
- Create a
.env
file in the root directory with the following content:NEXT_PUBLIC_SUPABASE_URL=<supabase-url> NEXT_PUBLIC_SUPABASE_ANON_KEY=<supabase-anon-key> NEXT_PUBLIC_DATABASE_URL=<database-url>