js-waku/examples/store-reactjs-chat
Franck Royer 49e08ff1c2
Upgrade examples to js-waku@0.24.0
2022-06-01 11:19:27 +10:00
..
config store:reactjs: Remove crypto-browserify 2022-05-11 15:54:55 +10:00
public Add Store example 2021-08-09 12:36:27 +10:00
src `Waku.dial` accepts protocols expected from the peer. Defaults to Waku Relay only. (#516) 2022-02-13 19:04:50 +11:00
.gitignore Add Store example 2021-08-09 12:36:27 +10:00
README.md Publish store and relay ReactJS examples 2022-05-13 16:05:58 +10:00
package-lock.json Upgrade examples to js-waku@0.24.0 2022-06-01 11:19:27 +10:00
package.json Upgrade examples to js-waku@0.24.0 2022-06-01 11:19:27 +10:00

README.md

Minimal ReactJS Waku Store App

  • React/JavaScript,
  • create-react-app/react-scripts 5.0.0
  • Waku Store,
  • Protobuf using protons.
  • No async/await syntax.

A simple app that retrieves chat messages using Waku Store to illustrate the Retrieve Messages Using Waku Store With ReactJS guide.

The master branch's HEAD is deployed at https://js-waku.wakuconnect.dev/examples/store-reactjs-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/store-reactjs-chat
npm install   # Install dependencies for the web app
npm run start # Start development server to serve the web app on http://localhost:3000/