Readonly
BY_ID: "/id/:id"Readonly
BY_NAME: "/name/:name"Readonly
DB_URL: stringFlexible or sensitive configuration included in .env: should be set in the cloud but unnecessary in CICD pipelines.
Readonly
DB_URL_TEST: stringFlexible or sensitive configuration included in .env: should be set in CICD pipelines but not in the cloud.
Readonly
DIST_DIR: "dist"Readonly
INI_ADMIN: stringReadonly
INI_ADMIN_PASSWD: stringReadonly
ITEMS_EP: "/api/items"Readonly
LOG_URL: stringFlexible or sensitive configuration included in .env: should be set in the cloud but unnecessary in CICD pipelines.
Readonly
NAME_MAX: 50Readonly
NODE_ENV: stringShould be set in the CLI.
Readonly
PAGE_DEF: 20Readonly
PAGE_MAX: 100Readonly
PASSWD_MAX: 20Readonly
PASSWD_MIN: 6Readonly
PORT: numberFlexible or sensitive configuration included in .env: normally will be automatically set by cloud platforms, so unnecessary to be set in both the cloud and CICD pipelines.
Readonly
SALT: numberReadonly
SEARCH: "/search"Readonly
SECRET: stringFlexible or sensitive configuration included in .env: should be set in the cloud but unnecessary in CICD pipelines.
Readonly
SPA: "dist/index.html"Readonly
USERNAME_MAX: 20Readonly
USERNAME_MIN: 3Readonly
USERS_EP: "/api/users"Readonly
VER_EP: "/version"Readonly
VERSION: 0
Flexible or sensitive configurations are typically from corresponding environment variables, which are set by dotenv locally, or by cloud platforms in deployment. For CICD testing, corresponding environment variables should be set by CICD pipelines only if the configurations are flexible or sensitive for testing. Otherwise, they can be from default. Configurations only for testing don't need to be defined in the cloud for production deployment.