We’re taking on new clients. Tell us what you need and we’ll set you up. Contact us

SaaSyToadCRM

Almost there. The database isn't connected yet.

The deploy is live. The app needs four environment variables and a schema push before it can serve real pages.

Environment variables

  • DATABASE_URL

    Pooled Supabase URL (port 6543)

  • DIRECT_URL

    Direct Supabase URL (port 5432), used by `prisma db push`

  • SESSION_SECRET

    Signs cookies + derives the AES-256-GCM encryption key

  • NEXT_PUBLIC_APP_URL

    Your production domain (no trailing slash)

All env vars look set. The remaining step is running npx prisma db push against Supabase to create the tables. See DEPLOY.md section 2.

Next steps

  1. Open your hosting platform's environment variables panel and fill in any red rows above.
  2. Run npx prisma db push locally with DIRECT_URL set so the schema is created.
  3. Redeploy. Visiting this URL should redirect to /setup.

Full walkthrough: DEPLOY.md

Build f00b04b· Invalid `prisma.user.count()` invocation: Error querying the database: FATAL: (ENOTFOUND) tenant/user postgres.euvjfl