js-waku/examples/store-reactjs-chat
Jakub e4888f779c
ci: build examples and deply in a subfolder (#432)
2022-02-02 11:35:28 +11: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 Replace `waitForConnectedPeer` with `waitForRemotePeer` (#469) 2022-01-30 21:56:21 +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 ci: build examples and deply in a subfolder (#432) 2022-02-02 11:35:28 +11:00
package.json ci: build examples and deply in a subfolder (#432) 2022-02-02 11:35:28 +11: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/