chore: 后端首次基线提交

运行必须源码:app/(controller/model/service/middleware/lib/utils/validate/router)、config/、database/(migrations/seeders/sql)、启动脚本、app/public/templates 模板。
已忽略运行非必须:node_modules/、logs/、run/、app/public 运行时上传数据、.env*、构建/缓存产物。
This commit is contained in:
WorkBuddy
2026-08-17 12:25:42 +08:00
commit a303cf2d53
109 changed files with 25904 additions and 0 deletions

70
package.json Normal file
View File

@@ -0,0 +1,70 @@
{
"name": "competition-website-backend",
"version": "1.0.0",
"description": "通信与导航应用技术创新赛线上选拔赛网站后端",
"private": true,
"egg": {
"declarations": false,
"typescript": false
},
"dependencies": {
"@alicloud/dysmsapi20170525": "^4.6.0",
"@alicloud/openapi-client": "^0.4.15",
"@alicloud/tea-util": "^1.4.11",
"@artus/core": "^2.2.4",
"@eggjs/router": "^3.0.6",
"archiver": "^8.0.0",
"bcryptjs": "^3.0.3",
"cliui": "^9.0.1",
"egg": "^3.34.0",
"egg-cors": "^2.2.4",
"egg-scripts": "^2.17.0",
"egg-sequelize": "^6.0.0",
"egg-validate": "^2.0.2",
"get-ready": "^2.0.1",
"jsonwebtoken": "^9.0.2",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.6.5",
"mz-modules": "^2.1.0",
"svg-captcha": "^1.4.0",
"tslib": "^2.8.1",
"xlsx": "^0.18.0",
"ylru": "^1.4.0"
},
"devDependencies": {
"egg-bin": "^6.3.0",
"egg-mock": "^5.0.0",
"sequelize-cli": "^6.6.2",
"string-width": "^4.2.3",
"wt": "^1.2.0"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "egg-scripts start --daemon --title=competition-website-backend",
"stop": "egg-scripts stop --title=competition-website-backend",
"dev": "egg-bin dev",
"debug": "egg-bin debug",
"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test",
"cov": "egg-bin cov",
"lint": "eslint .",
"ci": "npm run cov"
},
"ci": {
"version": "14, 16",
"type": "github"
},
"repository": {
"type": "git",
"url": ""
},
"keywords": [
"egg",
"competition",
"backend"
],
"author": "",
"license": "MIT"
}