- api/: FastAPI app with MySQL (accounts, forwarding_rules, messages)
- GET/POST/PUT/DELETE /accounts + /accounts/{id}/test
- GET /messages + /messages/{id}/retry
- GET /stats
- POST /connection/test
- Auto-runs migrations/init.sql on startup
- worker/: Python IMAP poller + BizDocs upload (schedule every 5 min)
- web/: multi-stage Dockerfile — builds admin-ui via Node, serves via nginx
- nginx proxies /api/ → api:8000, SPA fallback for React Router
- docker-compose.yml: updated web build context + mysql init.sql mount
Co-Authored-By: Paperclip <[email protected]>
10 lines
177 B
Plaintext
10 lines
177 B
Plaintext
fastapi==0.111.0
|
|
uvicorn[standard]==0.30.1
|
|
sqlalchemy==2.0.30
|
|
pymysql==1.1.1
|
|
cryptography==42.0.7
|
|
pydantic==2.7.1
|
|
pydantic-settings==2.2.1
|
|
httpx==0.27.0
|
|
python-multipart==0.0.9
|