Supabase

If you want to use Supabase as your database, you can follow the steps below to connect your app to Supabase.

Postgres Connection

  • Copy the DATABASE_URL from your Supabase project and set it as the DATABASE_URL environment variable.
  • Change the provider to postgresql in the prisma/schema.prisma file.
  • Run the npx prisma db push command to create the database schema.

MIT 2024 Β© Nextra.