Initial commit
This commit is contained in:
15
src/app/core/config.py
Normal file
15
src/app/core/config.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from typing import List
|
||||
from pydantic import AnyHttpUrl
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
class Settings(BaseSettings):
|
||||
model_config = SettingsConfigDict(
|
||||
env_file=".env",
|
||||
env_file_encoding="utf-8",
|
||||
case_sensitive=True
|
||||
)
|
||||
|
||||
PROJECT_NAME: str = "Recipe Book GraphQL API"
|
||||
BACKEND_CORS_ORIGINS: List[AnyHttpUrl] = []
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user