# Environment variables declared in this file are NOT automatically loaded by Prisma.
# Please add `import "dotenv/config";` to your `prisma.config.ts` file, or use the Prisma CLI with Bun
# to load environment variables from .env files: https://pris.ly/prisma-config-env-vars.

DATABASE_URL="mysql://salon_dev:salon_dev_pw@localhost:3306/salon_site_dev?allowPublicKeyRetrieval=true"

# Used to encrypt Stripe secret keys at rest in the database. Generate with:
#   node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
APP_ENCRYPTION_KEY="ba0d50cd18eaebeb78149d2bff61cdc8ffff8145c848775e0f5cedca1756e8fd"

# Used to sign admin session cookies. Generate the same way as above.
JWT_SECRET="a27d9d0c7179eed1a4c04837228c4893de3f5ad8070ff5aeac3b8feeeb9e1d05"

# Seed admin account (used once by `npm run db:seed`)
ADMIN_EMAIL="admin@example.com"
ADMIN_PASSWORD="changeme123"

# SMTP settings for outgoing email (booking confirmations)
SMTP_HOST=""
SMTP_PORT="587"
SMTP_USER=""
SMTP_PASS=""
SMTP_FROM="Hair by Nyasia <no-reply@example.com>"

# Base URL used to build Stripe success/cancel redirect links
NEXT_PUBLIC_BASE_URL="http://localhost:3000"

# Optional — shows a live embedded map on /contact (falls back to a static
# card without it). Get a free key at https://console.cloud.google.com/
# (enable "Maps Embed API"). See README.
GOOGLE_MAPS_EMBED_KEY=""
