jarvis-backend / src /core /config.py
AdeshRathod
initial commit
14c4d51
Raw History Blame Contribute Delete
304 Bytes
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
MONGODB_URL: str
DATABASE_NAME: str = "jarvis_db"
SECRET_KEY: str = "secret"
ALGORITHM: str = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440
class Config:
env_file = ".env"
settings = Settings()