92d033f053
- 移除游客、密码和旧员工工作台入口 - 通过 Firebase 兑换 HttpOnly 业务会话
14 lines
907 B
Markdown
14 lines
907 B
Markdown
# 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.
|