from pydantic_settings import BaseSettings from pathlib import Path class Settings(BaseSettings): PROJECT_NAME: str = "Small Business Inventory System" API_V1_STR: str = "/api/v1" # Security SECRET_KEY: str = "supersecretkey" # Change in production ALGORITHM: str = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES: int = 30 # Base directory BASE_DIR: Path = Path(__file__).resolve().parent.parent.parent class Config: env_file = ".env" case_sensitive = True settings = Settings()