Skip to content

Configuration

Environment Variables

Configuration for both applications.

Buyer documentation is provided in English.

Frontend

VariableDefaultDescription
NEXT_PUBLIC_API_URLhttp://localhost:8080/api/v1Go API base URL
NEXT_PUBLIC_APP_NAMEHireIQProduct name shown in the UI
NEXT_PUBLIC_SUPPORT_EMAILdeveloper@heyloomora.comBuyer support contact
NEXT_PUBLIC_DEFAULT_LOCALEenFirst-visit locale
NEXT_PUBLIC_DETECT_BROWSER_LOCALEfalseOpt in to browser language detection
NEXT_PUBLIC_SHOW_DEMO_ACCOUNTStrueShow landing credentials and login shortcuts; does not disable API fixture accounts
NEXT_PUBLIC_HOSTED_DEMOfalseActivate operator notices for the Loomora shared fictional preview
API_PROXY_URLDerived from API URLOptional private build-time API target for the /api rewrite

Lite API

VariableDefaultDescription
APP_PORT8080HTTP port
ALLOWED_ORIGINSComma separated CORS origins
FIXTURES_PATHOptional private local JSON override directory
STORAGE_DRIVERmemorymemory, s3, or minio
STORAGE_S3_BUCKETPrivate bucket for S3/MinIO
STORAGE_S3_REGIONAWS region; MinIO defaults to us-east-1
STORAGE_S3_ENDPOINTMinIO or optional S3-compatible URL
STORAGE_S3_ACCESS_KEY_IDOptional explicit access key
STORAGE_S3_SECRET_ACCESS_KEYMatching secret key
STORAGE_S3_USE_PATH_STYLEfalsePath-style requests for S3-compatible services
EMAIL_PROVIDERresendresend or smtp for application email
RESEND_API_KEYResend API key; keep server-side
RESEND_FROMSender address on your verified Resend domain
SMTP_ADDRSMTP host:port when EMAIL_PROVIDER=smtp; TLS required
SMTP_FROMSMTP sender email address
SMTP_USERNAME / SMTP_PASSWORDOptional SMTP authentication
Keep storage credentials server-side. The portal receives only the API URL; it never gets bucket access.

The complete environment example lives in portal-api/lite/.env.example.