This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
- 由于APP使用浏览器来完成部分必要数据的存储,故在一个浏览器中请勿打开多个前端app页面,以防止认证信息出现矛盾.
- 请勿直接关闭标签页,这会在后端数据库中保持该用户处于登录状态,因此重复的登录请求将被拒绝。请使用logout按钮退出登录后再关闭标签页。如出现上述情况请联系项目管理员.
- websocket长连接默认在主页面(即菜单栏"chat"对应的页面)建立,停留在contacts页面将不会实时收到最新申请,请先进入chat页面获取后再重新进入contact界面以获得最新好友申请。若希望建立contact的长连接,请停留在contact界面并刷新该页面以获得稳定的ws长连接.
- 删除好友后默认一定时间内有免打扰功能。如A删除B后,B短时间内将无法搜索A.
2024/12/22补充