js-waku/examples/web-chat
Franck Royer a21d641280
Added `Waku.waitForConnectedPeer` helper
To ensure that we are connected to Waku peers when using the bootstrap
option.
2021-09-02 15:46:23 +10:00
..
public Revert naming to js-waku 2021-05-13 20:27:38 +10:00
src Added `Waku.waitForConnectedPeer` helper 2021-09-02 15:46:23 +10:00
.gitignore Move web-chat to examples folder 2021-05-05 16:35:14 +10:00
.prettierignore Move web-chat to examples folder 2021-05-05 16:35:14 +10:00
README.md Add breakdown of what examples demonstrate 2021-08-02 10:45:10 +10:00
buf.gen.yaml `ChatMessage` has been moved from js-waku to web-chat example 2021-08-06 17:25:12 +10:00
buf.yaml `ChatMessage` has been moved from js-waku to web-chat example 2021-08-06 17:25:12 +10:00
package-lock.json Run build with NodeJS 16 2021-08-26 13:02:09 +10:00
package.json `ChatMessage` has been moved from js-waku to web-chat example 2021-08-06 17:25:12 +10:00
tsconfig.json Move web-chat to examples folder 2021-05-05 16:35:14 +10:00

README.md

Web Chat App

Demonstrates:

  • Group chat
  • React/TypeScript
  • Waku Relay
  • Waku Store

A ReactJS chat app is provided as a showcase of the library used in the browser. It implements Waku v2 Toy Chat protocol. A deployed version is available at https://status-im.github.io/js-waku/.

To run a development version locally, do:

git clone https://github.com/status-im/js-waku/ ; cd js-waku
npm install   # Install dependencies for js-waku
npm run build # Build js-waku
cd examples/web-chat   
npm install   # Install dependencies for the web app
npm run start # Start development server to serve the web app on http://localhost:3000/js-waku

Use /help to see the available commands.