jskz/react-websocket-chat

语言: JavaScript

git: https://github.com/jskz/react-websocket-chat

None
README.md (中文)

:speech_balloon:react-websocket-chat

使用Express,ws,React和WebSockets的ES6聊天webapp的示例或起始位置。

先决条件

  • 节点
  • webpack(npm install -g webpack)

建立

git clone https://github.com/jskz/react-websocket-chat.git test
cd test
npm install

构建+用法

webpack
npm start

访问http:// localhost:8080 /与您的浏览器。

三个会话的屏幕截图

Screenshot using three concurrent sessions

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

:speech_balloon: react-websocket-chat

An example or starting place for an ES6 chat webapp using Express, ws, React, and WebSockets.

Prerequisites

  • Node
  • webpack (npm install -g webpack)

Setup

git clone https://github.com/jskz/react-websocket-chat.git test
cd test
npm install

Build + Usage

webpack
npm start

Visit http://localhost:8080/ with your browser.

Screenshot with three sessions

Screenshot using three concurrent sessions