GRV-BackEnd/.env.example
kirukib 01e230c7fc Allow the Expo web dev origin in the example CORS list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 23:34:20 +03:00

21 lines
1.1 KiB
Plaintext

# Docker: postgresql://postgres:postgres@localhost:5432/grv
# No Docker: `pnpm db:dev` (PGlite) → postgresql://postgres:postgres@127.0.0.1:5433/postgres and DATABASE_POOL_MAX=1
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/grv
DATABASE_POOL_MAX=10
PORT=4000
# 32+ random chars: openssl rand -hex 32
JWT_SECRET=change-me-change-me-change-me-change-me
# Comma-separated. Anyone else who logs in is an ATTENDEE.
ADMIN_EMAILS=admin@example.com
STAFF_EMAILS=
# Browser origins allowed to call the API (site, admin). The mobile app needs none.
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8081
SITE_URL=http://localhost:3000
ADMIN_URL=http://localhost:5173
# Empty RESEND_API_KEY = emails (and OTP codes) are printed to the console instead of sent.
RESEND_API_KEY=
RESEND_FROM=GRV Summit <onboarding@resend.dev>
NOTIFY_TO=admin@example.com
# Shown to buyers after a ticket order until a payment gateway is wired.
PAYMENT_INSTRUCTIONS=Our team will email you an invoice with bank transfer details within one business day. Your tickets are issued once payment is confirmed.