feat: 实现后端基础架构与 VOD 核心 API(Express + SQLite + JWT)

This commit is contained in:
2026-06-29 17:46:38 +06:00
parent 0192c313f4
commit da06866360
25 changed files with 10525 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{
"name": "@vod-manager/server",
"version": "0.1.0",
"description": "Backend server for Aliyun VOD Media Library Manager",
"main": "dist/index.js",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"lint": "eslint src --ext .ts",
"test": "vitest run"
},
"dependencies": {
"@alicloud/pop-core": "^1.7.13",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"pino": "^9.1.0",
"pino-pretty": "^11.1.0",
"sqlite": "^5.1.1",
"sqlite3": "^5.1.7",
"uuid": "^9.0.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.12.12",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"tsx": "^4.11.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
}
}