Configuration
Environment Variables
Configuration for both applications.
Buyer documentation is provided in English.
Frontend
| Variable | Default | Description |
|---|---|---|
| NEXT_PUBLIC_API_URL | http://localhost:8080/api/v1 | Go API base URL |
| NEXT_PUBLIC_APP_NAME | HireIQ | Product name shown in the UI |
| NEXT_PUBLIC_SUPPORT_EMAIL | developer@heyloomora.com | Buyer support contact |
| NEXT_PUBLIC_DEFAULT_LOCALE | en | First-visit locale |
| NEXT_PUBLIC_DETECT_BROWSER_LOCALE | false | Opt in to browser language detection |
| NEXT_PUBLIC_SHOW_DEMO_ACCOUNTS | true | Show landing credentials and login shortcuts; does not disable API fixture accounts |
| NEXT_PUBLIC_HOSTED_DEMO | false | Activate operator notices for the Loomora shared fictional preview |
| API_PROXY_URL | Derived from API URL | Optional private build-time API target for the /api rewrite |
Lite API
| Variable | Default | Description |
|---|---|---|
| APP_PORT | 8080 | HTTP port |
| ALLOWED_ORIGINS | Comma separated CORS origins | |
| FIXTURES_PATH | Optional private local JSON override directory | |
| STORAGE_DRIVER | memory | memory, s3, or minio |
| STORAGE_S3_BUCKET | Private bucket for S3/MinIO | |
| STORAGE_S3_REGION | AWS region; MinIO defaults to us-east-1 | |
| STORAGE_S3_ENDPOINT | MinIO or optional S3-compatible URL | |
| STORAGE_S3_ACCESS_KEY_ID | Optional explicit access key | |
| STORAGE_S3_SECRET_ACCESS_KEY | Matching secret key | |
| STORAGE_S3_USE_PATH_STYLE | false | Path-style requests for S3-compatible services |
| EMAIL_PROVIDER | resend | resend or smtp for application email |
| RESEND_API_KEY | Resend API key; keep server-side | |
| RESEND_FROM | Sender address on your verified Resend domain | |
| SMTP_ADDR | SMTP host:port when EMAIL_PROVIDER=smtp; TLS required | |
| SMTP_FROM | SMTP sender email address | |
| SMTP_USERNAME / SMTP_PASSWORD | Optional 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.