diff --git a/src/webqueue2api/api/config.py b/src/webqueue2api/api/config.py index ed6dc09..d16f099 100644 --- a/src/webqueue2api/api/config.py +++ b/src/webqueue2api/api/config.py @@ -24,7 +24,16 @@ def generate_random_string(length=16) -> str: @dataclass class Configuraton: - pass -config = Configuraton( + """Stores API configuration. + + Args: + jwt_secret_key (str): The key used to confirm JWT validity. + environment (str): The type of environment to run in. "prod" or "dev" + """ + jwt_secret_key: str + environment: str +config = Configuraton( + jwt_secret_key = generate_random_string(), + environment = "prod" ) \ No newline at end of file