chore: initialize WanderQ MiniAPP 2.0 repository

This commit is contained in:
inman
2026-07-23 15:48:34 +08:00
commit b4c0a1c516
93 changed files with 53525 additions and 0 deletions

37
apps/api/package.json Normal file
View File

@@ -0,0 +1,37 @@
{
"name": "@miniapp/api",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "prisma generate && tsc -p tsconfig.json",
"start": "node dist/index.js",
"db:generate": "prisma generate",
"db:migrate": "prisma migrate dev --name init-admin-backend",
"media:migrate": "tsx src/migrate-media.ts",
"db:seed": "prisma db seed",
"content:release": "tsx prisma/content-release.ts"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"dependencies": {
"@fastify/cors": "^11.1.0",
"@fastify/jwt": "^10.0.0",
"@fastify/multipart": "^9.4.0",
"@prisma/client": "6.19.3",
"ali-oss": "^6.23.0",
"bcryptjs": "^3.0.3",
"dotenv": "^16.6.1",
"fastify": "^5.6.2",
"sharp": "^0.34.5",
"zod": "^4.2.0"
},
"devDependencies": {
"@types/node": "^24.10.2",
"prisma": "6.19.3",
"tsx": "^4.21.0",
"typescript": "^6.0.3"
}
}