New

5 demos, 10+ applications, 50+ blocks, 30+ pages & much more

Documentation

Browse and explore docs

Environment Variables

Copy .env.example to .env at the root of the project and fill in your values:

cp .env.example .env

Then open .env and replace the placeholder values:

# Toggle demo mode — set to false to use real database data
NEXT_PUBLIC_DEMO_MODE=false

# Supabase — client-side (safe to expose)
NEXT_PUBLIC_SUPABASE_URL="https://your-project.supabase.co"
NEXT_PUBLIC_SUPABASE_ANON_KEY="your-anon-key"

# OAuth providers (optional)
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
GITHUB_CLIENT_ID="your-github-client-id"
GITHUB_CLIENT_SECRET="your-github-client-secret"

# Database — used by Prisma (Transaction mode / pgbouncer)
DATABASE_URL="postgresql://USER:PASSWORD@HOST:6543/DB?pgbouncer=true"

# Database — direct connection used by Prisma migrations
DIRECT_URL="postgresql://USER:PASSWORD@HOST:5432/DB"

# Supabase — server-side secret (never expose to the browser)
SUPABASE_SERVICE_ROLE_KEY="your-service-role-key"

Important: Never commit your .env file to version control. The SUPABASE_SERVICE_ROLE_KEY bypasses Row Level Security — keep it server-side only.