js-waku/examples/store-reactjs-chat
Franck Royer 4fd2db608b
Update caniuse in all examples
2022-01-13 16:40:11 +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 Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +11:00
.gitignore Add Store example 2021-08-09 12:36:27 +10:00
README.md Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +11:00
package-lock.json Update caniuse in all examples 2022-01-13 16:40:11 +11:00
package.json Upgrade store example to react-scripts 5.0.0 2022-01-10 12:27:09 +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/