# the-chat-room **Repository Path**: darcrandex/the-chat-room ## Basic Information - **Project Name**: the-chat-room - **Description**: 基于 react + socket.io + express 的在线聊天室 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-10-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 基于 socket.io 的聊天室 ### 使用 客户端. 可同时启动多个客户端,来模拟多个用户. ``` cd client npm install npm start ``` 服务端 ``` cd server npm install node app.js ``` ### 服务器 ip 配置 在客户端中,访问的服务器 ip 为你本地的 ip. ``` // /client/src/App/index.js const socket = io.connect('http://172.16.132.33:8000/chat-room') ```