Skip to content
Raunak Docs
Open Raunak

Configuration and command reference

The checked-in .env.example is the complete starting point for configuration names. This reference groups the principal settings by responsibility without including real credentials or account-specific values.

Application and local services#

SettingPurpose
APP_URLBrowser-facing origin used by links, callbacks and mutation origin checks
DATABASE_URLPostgreSQL connection for Prisma and the gateway
REDIS_URLBullMQ queue and gateway coordination connection
TICKET_SIGNING_SECRETAt least 32 characters, used to sign admission tokens
ENCRYPTION_KEYIndependent 32 random bytes encoded as 64 hex characters or base64

The root Compose database is exposed at port 5433 for local development. Its internal working database identifiers are retained; changing the public brand name does not require renaming the database.

Authentication and review access#

SettingPurpose
NEXT_PUBLIC_FIREBASE_API_KEYFirebase web app configuration
NEXT_PUBLIC_FIREBASE_AUTH_DOMAINFirebase web auth domain
NEXT_PUBLIC_FIREBASE_PROJECT_IDFirebase web project identifier
NEXT_PUBLIC_FIREBASE_APP_IDFirebase web application identifier
FIREBASE_PROJECT_IDServer-side Firebase project
FIREBASE_CLIENT_EMAILService-account identity
FIREBASE_PRIVATE_KEYServer service-account key with escaped newlines
RAUNAK_ADMIN_FIREBASE_UIDSComma-separated UID allowlist for platform review

The public Firebase values are different from server credentials. Never add service-account values to a NEXT_PUBLIC_* setting.

Payment, storage and delivery#

GroupConfiguration
CashfreeCASHFREE_ENV, CASHFREE_APP_ID, CASHFREE_SECRET_KEY, CASHFREE_API_VERSION
Object storageS3_ENDPOINT, S3_REGION, S3_BUCKET, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_PUBLIC_BASE_URL
EmailEMAIL_PROVIDER, EMAIL_FROM, RESEND_API_KEY or SMTP_HOST/SMTP_PORT/optional SMTP credentials
Official WhatsAppWHATSAPP_PROVIDER, WHATSAPP_CLOUD_TOKEN, WHATSAPP_PHONE_NUMBER_ID, WHATSAPP_WABA_ID, WHATSAPP_API_VERSION, WHATSAPP_TEMPLATE_MAP
Meta webhookWHATSAPP_WEBHOOK_VERIFY_TOKEN, WHATSAPP_APP_SECRET
Linked gatewayWA_UNOFFICIAL_ENABLED, WA_GATEWAY_ENGINE, WA_GATEWAY_URL, WA_GATEWAY_API_KEY, gateway bind address/port, caps and pacing
MapsGEOAPIFY_API_KEY, NEXT_PUBLIC_MAP_TILE_URL, NEXT_PUBLIC_MAP_ATTRIBUTION

AWS_REQUEST_CHECKSUM_CALCULATION=WHEN_REQUIRED is included in the local/storage configuration. Provider selection does not activate a remote account: follow integration setup.

Available commands#

CommandBehavior
pnpm devStart Next.js development server
pnpm buildCreate production Next.js build
pnpm startRun an existing production build
pnpm workerStart artwork, ticket, notification and maintenance workers
pnpm db:migrateApply checked-in Prisma migrations to configured database
pnpm exec prisma generateGenerate the Prisma client
pnpm exec next typegenGenerate route types for the installed Next.js version
pnpm typecheckRun TypeScript without emitting files
pnpm lintRun ESLint
pnpm testRun Vitest, including service-dependent integration tests
pnpm test:e2eRun Playwright browser tests
pnpm check:theme-colorsInspect theme color usage
pnpm check:contrastRun token contrast checks and browser contrast coverage

Inspect any seed or operational script before running it: those commands may write data or contact configured providers. They are not required to read documentation or start an empty development application.

Application routes and API boundaries#

SurfaceRoute
Public documentation/docs and the explicit guide slugs
Discovery/discover
Public event/e/[slug]
Organizer profile/organizers/[slug]
Account and tickets/account, /my-tickets, /orders/[id]
Organizer workspace/dashboard and its event/settings pages
Platform event review/admin, restricted to allowlisted users
Cashfree webhook/api/webhooks/cashfree
Official WhatsApp webhook/api/webhooks/whatsapp

These are application routes, not a versioned public developer API or SDK contract. Authenticated mutations enforce their existing session, origin and role checks. Do not call private routes as though possession of an event, booking or ticket ID grants access.

Review alert destination#

The current publication-review email helper contains an operator recipient in server code. It is not configured by an environment variable in the implementation reviewed here. A self-hosting operator should inspect and adapt that recipient before relying on review notifications; this guide does not expose the installation's personal address.

View this page’s source on GitHub

Explore the docs
Open Raunak