- 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
10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
import { createPinia } from "pinia"
|
|
import App from "@/App.vue"
|
|
import { router } from "@/router"
|
|
import "element-plus/dist/index.css"
|
|
import "element-plus/theme-chalk/dark/css-vars.css"
|
|
import "@/styles/index.css"
|
|
import "virtual:uno.css"
|
|
|
|
createApp(App).use(createPinia()).use(router).mount("#app")
|