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

24 lines
685 B
Markdown
Raw Normal View History

# Minimal ReactJS Waku Relay App
2022-01-07 06:19:10 +00:00
**Demonstrates**:
2022-01-07 06:19:10 +00:00
- Group chat
- React/JavaScript
- `create-react-app`/`react-scripts` 5.0.0
- Waku Relay
- Protobuf using `protons`.
- No async/await syntax.
2022-01-07 06:19:10 +00:00
A barebone chat app to illustrate the [ReactJS Relay guide](https://docs.dappconnect.dev/docs/guides/07_reactjs_relay/).
2022-01-07 06:19:10 +00:00
To run a development version locally, do:
2022-01-07 06:19:10 +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/relay-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/
```