# This abstracts your .env variables allowing you to not expose them on your code.

from pydantic import BaseSettings

class Settings(BaseSettings):
    database_hostname: str
    database_port: str
    database_password: str
    database_name: str
    database_username: str
    secret_key: str
    algorithm: str
    access_token_expire_minutes: int
    admin_reg: str

    class Config:
        env_file = ".env"

settings = Settings()