This commit is contained in:
kimheesu 2025-07-03 10:30:49 +09:00
parent 7d7da12f58
commit dbc4c110bb
39 changed files with 18 additions and 113 deletions

View File

@ -0,0 +1,18 @@
from functools import lru_cache
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
model_config = SettingsConfigDict(
env_file=".env",
env_file_encoding="utf-8",
)
DB_USER: str
DB_PASSWORD: str
WALLET_PASSWORD: str
DB_DSN: str
SECRET_KEY: str
@lru_cache
def get_settings():
return Settings()

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,23 +0,0 @@
[tool.uv]
preview = true
[project]
name = "tradingagents-backend"
version = "0.1.0"
dependencies = [
"fastapi",
"uvicorn[standard]",
"sqlmodel",
"python-jose[cryptography]",
"passlib[bcrypt]",
"python-multipart",
"pydantic[email]",
"tenacity",
"aiomysql"
]
[project.optional-dependencies]
dev = [
"pytest",
"requests",
]

View File

@ -1,9 +0,0 @@
fastapi
uvicorn[standard]
sqlmodel
python-jose[cryptography]
passlib[bcrypt]
python-multipart
pydantic[email]
tenacity
aiomysql

View File

View File

View File

View File

View File