- Backend (FastAPI, SQLAlchemy 2, Alembic): single-admin cookie auth, news/crawler/market APIs with SSE and WebSocket streaming - Crawler (Scrapy + Scrapy-Redis): wscn_news, wscn_live, cls_depth, cls_telegraph spiders, idempotent upserts with revisions, raw response archiving, per-source subprocess supervision, restart and backoff - Market worker: full-history Binance spot/USD-M kline backfill, realtime WS stream, hourly and on-reconnect catch-up - Frontend (Vue 3, Element Plus, UnoCSS, KLineChart): news feed, crawler console with live logs, Binance-style chart page - Deploy: docker compose, nginx site, migrate and daily backup scripts
23 lines
581 B
JSON
23 lines
581 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"jsx": "preserve",
|
|
"lib": ["esnext", "dom"],
|
|
"useDefineForClassFields": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"types": ["vite/client", "element-plus/global"],
|
|
"allowImportingTsExtensions": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.vue", "types/**/*.d.ts", "*.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|