Files
role-user/RTK.md
T
湛兮 92d033f053 feat: 更名个人数字人 Web 并统一谷歌登录
- 移除游客、密码和旧员工工作台入口
- 通过 Firebase 兑换 HttpOnly 业务会话
2026-11-13 22:08:32 +08:00

907 B

role-user Project Notes

This project is the personal digital human H5 for the access-manage backend and the role-admin management console.

When working in this repository:

  • Prefer Chinese for project notes, PRDs, comments, and delivery summaries.
  • Use React + Next.js App Router + TypeScript as the default frontend stack.
  • Keep the app mobile-first and PWA-friendly; desktop should work, but the primary user accesses the digital human app on a phone.
  • Use Firebase Google sign-in for digital human identity.
  • Use a Backend-for-Frontend layer in Next.js Route Handlers when it improves session safety. Prefer HttpOnly cookies over localStorage for tokens.
  • Keep business API types and request helpers centralized under src/lib/ once the app is scaffolded.
  • When files or directories are added, removed, renamed, or reorganized, update README.md in the same change once a README exists.