@@ -36,9 +36,9 @@ class Settings(BaseSettings):
3636 SECRET_KEY : str
3737 ENVIRONMENT : Literal ["DEV" , "PYTEST" , "STG" , "PRD" ] = "DEV"
3838 SECURITY_BCRYPT_ROUNDS : int = 12
39- ACCESS_TOKEN_EXPIRE_MINUTES : int
40- REFRESH_TOKEN_EXPIRE_MINUTES : int
41- BACKEND_CORS_ORIGINS : list [AnyHttpUrl ]
39+ ACCESS_TOKEN_EXPIRE_MINUTES : int = 11520 # 8 days
40+ REFRESH_TOKEN_EXPIRE_MINUTES : int = 40320 # 28 days
41+ BACKEND_CORS_ORIGINS : list [AnyHttpUrl ] = []
4242 ALLOWED_HOSTS : list [str ] = ["localhost" ]
4343
4444 # PROJECT NAME, VERSION AND DESCRIPTION
@@ -55,11 +55,11 @@ class Settings(BaseSettings):
5555 DEFAULT_SQLALCHEMY_DATABASE_URI : str = ""
5656
5757 # POSTGRESQL TEST DATABASE
58- TEST_DATABASE_HOSTNAME : str
59- TEST_DATABASE_USER : str
60- TEST_DATABASE_PASSWORD : str
61- TEST_DATABASE_PORT : str
62- TEST_DATABASE_DB : str
58+ TEST_DATABASE_HOSTNAME : str = "postgres"
59+ TEST_DATABASE_USER : str = "postgres"
60+ TEST_DATABASE_PASSWORD : str = "postgres"
61+ TEST_DATABASE_PORT : str = "5432"
62+ TEST_DATABASE_DB : str = "postgres"
6363 TEST_SQLALCHEMY_DATABASE_URI : str = ""
6464
6565 # FIRST SUPERUSER
0 commit comments