File size: 949 Bytes
1fce3ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
best-deal-backend/
├─ app/
│  ├─ main.py                # FastAPI entrypoint
│  ├─ tornado_ws.py          # Tornado websocket server
│  ├─ core/
│  │  ├─ config.py           # Config & secrets
│  │  └─ security.py         # JWT, hashing, auth helpers
│  ├─ db/
│  │  ├─ base.py             # SQLAlchemy Base
│  │  ├─ models.py           # ORM models
│  │  └─ session.py          # AsyncSession factory
│  ├─ schemas/
│  │  └─ pydantic_models.py  # Request/response schemas
│  ├─ api/
│  │  ├─ v1/
│  │  │  ├─ auth.py
│  │  │  └─ chat.py
│  ├─ services/
│  │  ├─ langchain_service.py
│  │  └─ offer_service.py
│  └─ utils/
│     └─ cache.py
├─ frontend/                  # Static frontend files (HTML, CSS, JS)
├─ Dockerfile
├─ docker-compose.yml
├─ requirements.txt
└─ README.md