js-waku-examples/web-chat
Franck Royer 9efb96091f
First commit
2022-06-17 10:48:15 +10:00
..
config First commit 2022-06-17 10:48:15 +10:00
public First commit 2022-06-17 10:48:15 +10:00
src First commit 2022-06-17 10:48:15 +10:00
.env First commit 2022-06-17 10:48:15 +10:00
.gitignore First commit 2022-06-17 10:48:15 +10:00
.prettierignore First commit 2022-06-17 10:48:15 +10:00
README.md First commit 2022-06-17 10:48:15 +10:00
buf.gen.yaml First commit 2022-06-17 10:48:15 +10:00
buf.yaml First commit 2022-06-17 10:48:15 +10:00
package-lock.json First commit 2022-06-17 10:48:15 +10:00
package.json First commit 2022-06-17 10:48:15 +10:00
tsconfig.json First commit 2022-06-17 10:48:15 +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://js-waku.wakuconnect.dev/examples/web-chat/.

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.