import os
from dotenv import load_dotenv

# Load environment variables from .env file
load_dotenv()

# Settings for the FastAPI application

SECRET_KEY = os.getenv("SECRET_KEY")  # Default secret key if not set in env
ALGORITHM = os.getenv("ALGORITHM")  # Default algorithm for JWT token
ACCESS_TOKEN_EXPIRE_MINUTES = int(os.getenv("ACCESS_TOKEN_EXPIRE_MINUTES"))  # Token expiration time in minutes

# Database configuration
DATABASE_URL = os.getenv("DATABASE_URL")  # Database URL for SQLAlchemy



# Other settings (if any)
DEBUG = os.getenv("DEBUG") == "True"  # Boolean for debug mode
