Skip to main content

Configuration

Default configuration keys for @quik/core. See Config Keys and Environment Variables for the full generated table.

  • app.name (default QuikLand by Spark), app.version, app.description, app.timezone (default UTC) describe the running application.
  • crypto.appKey (env QUIK_APP_KEY) is the application encryption/signing key used by other modules.
  • quik.errors.details (env QUIK_EXPOSE_ERROR_DETAILS) controls whether detailed error messages are exposed to clients.
  • quik.debug (env QUIK_DEBUG) enables framework debug mode.
  • quik.bootstrap.timeout (default 15000) is the bootstrap lifecycle timeout in milliseconds.
  • quik.user.languageField (env USER_LANGUAGE_FIELD) names the field on IQUser used to resolve the current user's locale.

Config store

getConfig() returns the singleton QConfiguration store used throughout the framework — set/get, string, boolean, object, number typed accessors, and .load(defaults) to merge a package's default configuration tree. getEnv() reads environment variables through the same typed-accessor helpers. requireConfig(...keys) throws a plain Error listing any of the given dotted config keys that resolve to an empty string.