2021-09-03 07:11:26 +00:00
|
|
|
# Minimal ReactJS Waku Store App
|
2021-08-03 02:31:26 +00:00
|
|
|
|
2021-09-03 07:11:26 +00:00
|
|
|
- React/JavaScript,
|
2022-01-10 00:13:43 +00:00
|
|
|
- `create-react-app`/`react-scripts` 5.0.0
|
2021-09-03 07:11:26 +00:00
|
|
|
- Waku Store,
|
|
|
|
- Protobuf using `protons`.
|
2021-09-07 04:44:20 +00:00
|
|
|
- No async/await syntax.
|
2021-08-03 02:31:26 +00:00
|
|
|
|
2021-09-03 07:11:26 +00:00
|
|
|
A simple app that retrieves chat messages using [Waku Store](https://rfc.vac.dev/spec/13/)
|
2022-01-10 00:13:43 +00:00
|
|
|
to illustrate the [Retrieve Messages Using Waku Store With ReactJS guide](https://docs.dappconnect.dev/docs/guides/08_reactjs_store/).
|
2021-08-03 02:31:26 +00:00
|
|
|
|
2021-09-03 07:11:26 +00:00
|
|
|
To run a development version locally, do:
|
2021-08-03 02:31:26 +00:00
|
|
|
|
2021-09-03 07:11:26 +00:00
|
|
|
```shell
|
|
|
|
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/
|
|
|
|
```
|