js-waku-examples/store-reactjs-chat
fryorcraken.eth 8cbf0ca0e6
feat(store-reactjs-chat): replace protons with protobufjs for protobuf serialization
Proto files must be used for latest version of protons. This is not ideal when build an example and iterating fast.
2022-09-02 15:04:05 +10:00
..
public First commit 2022-06-17 10:48:15 +10:00
src feat(store-reactjs-chat): replace protons with protobufjs for protobuf serialization 2022-09-02 15:04:05 +10:00
.gitignore First commit 2022-06-17 10:48:15 +10:00
README.md feat(store-reactjs-chat): replace protons with protobufjs for protobuf serialization 2022-09-02 15:04:05 +10:00
package.json feat(store-reactjs-chat): replace protons with protobufjs for protobuf serialization 2022-09-02 15:04:05 +10:00
pnpm-lock.yaml feat(store-reactjs-chat): replace protons with protobufjs for protobuf serialization 2022-09-02 15:04:05 +10:00

README.md

Minimal ReactJS Waku Store App

  • React/JavaScript,
  • create-react-app/react-scripts 5.0.0
  • Waku Store,
  • Protobuf using protobufjs.
  • 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/