js-waku/examples/store-reactjs-chat
Franck Royer a26f9e2bda
Bump react and react-dom in examples
2022-05-04 14:21:30 +10:00
..
config Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +11: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 Rename DappConnect to Waku Connect (#427) 2022-01-24 15:00:11 +11:00
package-lock.json Bump react and react-dom in examples 2022-05-04 14:21:30 +10:00
package.json Bump react and react-dom in examples 2022-05-04 14:21:30 +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.

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/