build: 打通 FastAPI 与 Vue 最小工程、依赖与数据库连接

后端入口、配置、Redis 与 Alembic 迁移就位;前端 Vite 工程可安装可构建。
This commit is contained in:
WangShen007 committed 2026-09-22 20:15:00 +08:00
1 parent fb0ddca4de
commit 2aee6286d6
167 files changed
+26082

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
/// <reference types="vite/client" />
/// <reference types="vite-plugin-pwa/client" />
// Global type declarations
declare global {
interface Window {
APP_CONFIG?: {
API_URL?: string
WS_URL?: string
WIDGET_URL?: string
FIREBASE_API_KEY?: string
FIREBASE_AUTH_DOMAIN?: string
FIREBASE_PROJECT_ID?: string
FIREBASE_MESSAGING_SENDER_ID?: string
FIREBASE_APP_ID?: string
FIREBASE_STORAGE_BUCKET?: string
FIREBASE_MEASUREMENT_ID?: string
FIREBASE_VAPID_KEY?: string
RAZORPAY_KEY_ID?: string
GOOGLE_FONTS_API_KEY?: string
NODE_ENV?: string
HOST?: string
DEMO_WIDGET_ID?: string
VITE_SHOPIFY_API_KEY?: string
GTM_ID?: string
}
}
}
export {}