Skip to content

Environment


Environment configuration module.

This module loads environment variables from a .env file and provides access to these variables.

Attributes:

Name Type Description
MONGO_CLUSTER_USERNAME str

Username for the MongoDB cluster.

MONGO_CLUSTER_PASSWORD str

Password for the MongoDB cluster.

EMAIL_ACCOUNT str

Email account used for sending emails.

EMAIL_PASSWORD str

Password for the email account.

APP_SECRET_KEY str

Secret key used for application security.

APP_SECURITY_PASSWORD_SALT str

Salt used for password hashing.

Raises:

Type Description
Exception

If the .env file is missing in the EVA_apps directory.