Skip to content

Env


Environment configuration module.

Loads sensitive configuration variables from secrets.env file for MongoDB, email and security settings.

Attributes:

Name Type Description
MONGO_CLUSTER_USERNAME str

Username for MongoDB cluster access

MONGO_CLUSTER_PASSWORD str

Password for MongoDB cluster access

EMAIL_ACCOUNT str

Email account for sending notifications

EMAIL_PASSWORD str

Password for email account

APP_SECRET_KEY str

Secret key for application security

APP_SECURITY_PASSWORD_SALT str

Salt value for password hashing

Raises:

Type Description
Exception

If secrets.env file is missing in this file's directory