# ziMu-chat **Repository Path**: youyou_gitee/ziMu-chat ## Basic Information - **Project Name**: ziMu-chat - **Description**: 这个是聊天室项目的代码仓库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 9 - **Created**: 2024-12-27 - **Last Updated**: 2024-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目介绍 本项目是基于`React18`, `recoil`,`Typescript`,`websocket`,`antd`,`laf`实现的网页即时聊天室 在线网址:https://o6r6fe-zimu-chat.site.laf.run/chat # 后端服务 后端服务由在`laf`上编码的云函数提供 # 项目目录结构 ``` ├── .huscky // git husck 配置文件 ├── dist // 打包后的文件夹 ├── node_modules // 第三方依赖 ├── public // 公共资源,字体图标 ├── src // 源代码 │ ├── service // 所有请求相关资源 │ ├── assets // 静态资源,css文件,图片,会打包的资源 │ ├── global // 存放全局配置 │ ├── components // 全局公用组件 │ ├── utils // 存放工具函数 │ ├── router // 路由配置文件 │ ├── store // 全局 store │ ├── views // 项目界面(注册,登录,头像选择,聊天) │ ├── App.tsx // 入口组件 │ └── main.tsx // 入口文件 加载组件 初始化等 ├── index.html // html入口文件 ├── .cz-config.js // 自定义commit信息 ├── .eslintrc.cjs // eslint 配置项 ├── .gitignore // git 忽略项 ├── .lintstagedrc.json // 对git暂存区代码进行指定的操作(lint, format) ├── .prettierrc // prettier配置文件 对代码进行格式化 ├── .prettierignore // prettier 忽略项 ├── .commitlint.config.js // commit 配置文件 ├── tsconfig.json // ts配置文件 ├── tsconfig.node.json // node 环境下ts配置文件 ├── vite.config.ts // vite配置文件 ├── READ.ME // 项目文档 └── package.json // package.json ``` # 项目本地服务启动 ``` git clone https://gitee.com/os-hubu/ziMu-chat.git // 拉取项目 pnpm install // 安装依赖 pnpm dev //项目启动 ```