feat: 后端实现items增删改查

This commit is contained in:
2025-12-10 17:08:35 +08:00
parent bc2d1bd4f2
commit 3ca6528567
8 changed files with 363 additions and 73 deletions

View File

@@ -5,18 +5,22 @@
"private": true,
"devDependencies": {
"@types/bun": "latest",
"prisma": "^7.1.0",
"tsx": "^4.21.0"
"prisma": "^7.1.0"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@hono/zod-validator": "^0.7.5",
"@prisma/adapter-pg": "^7.1.0",
"@prisma/client": "^7.1.0",
"hono": "^4.10.8"
"bun": "^1.3.4",
"hono": "^4.10.8",
"pg": "^8.16.3",
"zod": "^4.1.13"
},
"scripts": {
"dev": "tsx watch src/index.ts",
"dev": "bun --hot src/index.ts",
"start": "bun run src/index.ts",
"db:push": "prisma db push",
"db:generate": "prisma generate"