initial commit

This commit is contained in:
zhangshun
2026-05-23 09:11:46 +08:00
commit 5d08480921
42 changed files with 10615 additions and 0 deletions

29
server/package.json Normal file
View File

@@ -0,0 +1,29 @@
{
"name": "dmt-model-library-server",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js"
},
"dependencies": {
"@fastify/cors": "^10.0.1",
"@fastify/jwt": "^9.1.0",
"@fastify/multipart": "^9.0.3",
"@fastify/static": "^8.0.3",
"bcryptjs": "^2.4.3",
"cos-nodejs-sdk-v5": "^2.15.4",
"dotenv": "^17.4.2",
"fastify": "^5.2.1",
"nanoid": "^5.0.9",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/node": "^24.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}