js-waku/examples/store-reactjs-chat/README.md

21 lines
683 B
Markdown
Raw Normal View History

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,
- Waku Store,
- Protobuf using `protons`.
- 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/)
to illustrate the [Retrieve Messages Using Waku Store With ReactJS guide](/guides/reactjs-store.md).
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/
```