The project is a frontend part of the DIAL Mind Map Studio. Check the demo:
Execute npm run dev
to run a frontend server in dev mode.
The Mind Map Studio application uses environment variables to configure authentication, API connections, and theming settings. Below is a list of environment variables used in this project.
Variable | Required | Description |
---|---|---|
NEXTAUTH_SECRET |
Yes | Secret key for NextAuth.js authentication. Possible to generate with openssl rand -base64 32 . |
NEXTAUTH_URL |
Yes | Base URL of the application used for authentication callbacks. |
AUTH_KEYCLOAK_CLIENT_ID |
Yes | Client ID for Keycloak authentication. |
AUTH_KEYCLOAK_SECRET |
Yes | Secret key for Keycloak authentication. |
AUTH_KEYCLOAK_HOST |
Yes | Keycloak server URL. |
AUTH_KEYCLOAK_REALM |
Yes | Keycloak realm name used for authentication. |
THEMES_CONFIG_HOST |
No | The host URL for custom themes configuration. |
MINDMAP_BACKEND_URL |
Yes | Backend API URL for mindmap operations. |
DIAL_API_KEY |
No | API key used to authenticate requests to the AI DIAL API. |
DIAL_API_HOST |
Yes | The API host for AI DIAL integration. |
DIAL_CHAT_HOST |
Yes | The host URL for AI DIAL chat integration. |
MINDMAP_IFRAME_TITLE |
Yes | Custom title to display in the iframe when embedding the mindmap application. Must match dial:applicationTypeDisplayName in DIAL schema |
ALLOW_API_KEY_AUTH |
No | If set to true , allows authentication via API key without requiring user login. Acceptable values: true , false . Default: false . |
CHAT_DISCLAIMER |
No | A text string which, if set, will be displayed below the chat input. |
RECAPTCHA_SITE_KEY |
No | Site key for Google reCAPTCHA. |
RECAPTCHA_SECRET_KEY |
No | Secret key for Google reCAPTCHA. |
RECAPTCHA_REQUEST_QUOTA |
No | The number of requests a user can make before triggering the reCAPTCHA challenge. |
ANONYM_SESSION_SECRET_KEY |
No | The secret key used for anonym session cookies when ALLOW_API_KEY_AUTH is set to true. Generate it using openssl rand -base64 32. |
Note: make sure to define all required variables in your .env
file or provide them through your deployment configuration.