from pathlib import Path from pydantic_settings import BaseSettings class Settings(BaseSettings): PROJECT_NAME: str = "Task Management Tool" API_V1_STR: str = "/api/v1" # JWT Settings SECRET_KEY: str = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7" # Change in production ALGORITHM: str = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES: int = 30 # For SQLite DB_DIR: Path = Path("/app") / "storage" / "db" class Config: env_file = ".env" env_file_encoding = "utf-8" case_sensitive = True settings = Settings()