Veda-AI-Backend / app /config.py
aayushhh-operator's picture
Upload 33 files
8ce9715 verified
Raw
History Blame Contribute Delete
341 Bytes
from pydantic_settings import BaseSettings
from typing import List
class Settings(BaseSettings):
PORT: int = 4000
MONGO_URI: str = "mongodb://localhost:27017/vedaai"
GROQ_API_KEY: str = ""
CORS_ORIGINS: List[str] = ["*"]
class Config:
env_file = ".env"
env_file_encoding = 'utf-8'
env = Settings()