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