feat(api): add backend
routes and WebSockets
This commit is contained in:
11
services/api/app/core/config.py
Normal file
11
services/api/app/core/config.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||||
|
||||
DATABASE_URL: str = "postgresql+asyncpg://postgres:postgres@db:5432/audio_analyzer"
|
||||
API_V1_PREFIX: str = "/api/v1"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user