feat: 新增 Nitro Server API 与 PostgreSQL 后端,接入用户系统/联系表单/资讯订阅
- server/api: 注册/登录/登出/会话恢复(JWT + httpOnly Cookie, bcrypt 密码哈希) - server/api: 联系表单与资讯订阅入库,支持 SMTP 邮件通知(可选) - 应用启动自动建表(幂等),docker-compose 新增 PostgreSQL 16 服务 - 前端移除全部 mock:user store、登录注册弹窗、联系表单、页脚订阅接入真实接口 - i18n 补充服务端错误码中英文案,移除 demoHint - deploy: Deployment 环境变量(Secret 引用)、可选集群内 PostgreSQL(postgres.yaml) - 新增 .env.example 与 README/deploy 文档更新
This commit is contained in:
+7
-1
@@ -15,15 +15,21 @@
|
||||
"@nuxt/icon": "2.2.1",
|
||||
"@nuxtjs/i18n": "10.3.0",
|
||||
"@pinia/nuxt": "0.11.3",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"gsap": "^3.15.0",
|
||||
"jose": "^6.2.8",
|
||||
"lenis": "^1.3.23",
|
||||
"nodemailer": "^9.0.4",
|
||||
"nuxt": "^4.4.2",
|
||||
"pg": "^8.22.0",
|
||||
"pinia": "^3.0.4",
|
||||
"vue": "^3.5.32",
|
||||
"vue-router": "^5.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/ph": "1.2.2",
|
||||
"@nuxtjs/tailwindcss": "6.14.0"
|
||||
"@nuxtjs/tailwindcss": "6.14.0",
|
||||
"@types/nodemailer": "^8.0.1",
|
||||
"@types/pg": "^8.20.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user