js-waku/examples/min-react-js-chat/README.md

23 lines
605 B
Markdown
Raw Normal View History

# Minimal ReactJS Web Chat App
2021-07-28 00:18:13 +00:00
**Demonstrates**:
2021-07-28 00:18:13 +00:00
- Group chat
- React/JavaScript
- Waku Relay
- Protobuf using `protons`.
- No async/await syntax.
2021-07-28 00:18:13 +00:00
A barebone chat app to illustrate the [ReactJS Relay guide](/guides/reactjs-relay.md).
2021-07-28 00:18:13 +00:00
To run a development version locally, do:
2021-07-28 00:18:13 +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/min-react-js-chat
npm install # Install dependencies for the web app
npm run start # Start development server to serve the web app on http://localhost:3000/
```