Skip to content

lin-netizen/Youchat-frontend

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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补充

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages