没有合适的资源?快使用搜索试试~ 我知道了~
chat::dog:很聊天。 这样的消息。 这么说。 哇。 ReactRedux,TypeScript,Socket.io聊天应...
共45个文件
ts:15个
tsx:10个
json:7个
需积分: 9 0 下载量 167 浏览量
2021-03-25
12:55:13
上传
评论
收藏 866KB ZIP 举报
温馨提示
聊天应用 使用React,Redux Toolkit,Socket.io和Tailwind CSS的聊天应用程序。 设置 安装依赖项 安装客户端和服务器的依赖项。 # in one terminal window cd server && npm i # in another terminal window cd client && npm i 启动服务器 Express服务器正在维护Socket.io连接,将数据短期保留在内存中,并公开了用于访问永久数据的API。 # in /server npm start 服务器正在localhost:5000上运行。 启动客户 一个带有Redux前端的React服务器。 # in /client npm start 客户端开发服务器在localhost:3000上运行。 您可以在localhost:3000查看该应用程序。 使用任何有效
资源推荐
资源详情
资源评论
收起资源包目录
chat-master.zip (45个子文件)
chat-master
.gitignore 222B
README.md 1KB
.prettierrc 133B
LICENSE 1KB
screenshots
login.png 128KB
app.png 136KB
server
tsconfig.json 172B
package.json 554B
src
utilities.ts 213B
types.ts 208B
server.ts 4KB
config.ts 76B
package-lock.json 64KB
client
tsconfig.json 620B
public
manifest.json 306B
robots.txt 67B
doge.png 204KB
index.html 529B
craco.config.js 125B
package.json 1KB
src
components
ChatArea.tsx 2KB
Nav.tsx 798B
Sidebar.tsx 1KB
TextField.tsx 1KB
index.tsx 518B
index.css 303B
views
Chat.tsx 3KB
Login.tsx 3KB
App.tsx 1KB
react-app-env.d.ts 40B
utilities
types.ts 1KB
validation.ts 494B
config.ts 55B
api
SocketClient.ts 692B
middleware
socketMiddleware.ts 2KB
routing
PublicRoute.tsx 553B
PrivateRoute.tsx 549B
store
messages.slice.ts 1KB
users.slice.ts 1KB
rootReducer.ts 392B
index.ts 396B
auth.slice.ts 616B
assets
doge.png 204KB
tailwind.config.js 865B
package-lock.json 672KB
共 45 条
- 1
资源评论
乘风破浪的海伦
- 粉丝: 28
- 资源: 4546
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功