https://github.com/vlinking/websocket-communicator-react
A websocket based server and client pseudocommicator.
https://github.com/vlinking/websocket-communicator-react
python-3-5 reactjs websockets
Last synced: 9 months ago
JSON representation
A websocket based server and client pseudocommicator.
- Host: GitHub
- URL: https://github.com/vlinking/websocket-communicator-react
- Owner: Vlinking
- Created: 2017-07-23T12:20:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-24T10:19:34.000Z (over 8 years ago)
- Last Synced: 2025-01-19T07:42:24.537Z (11 months ago)
- Topics: python-3-5, reactjs, websockets
- Language: JavaScript
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Philosophy
A simple tool to send and receive notifications in browser.
The client ran from the browser can send a message that will be immediately displayed on all OTHER connected clients
(excluding the one sending the message).
The serwer is written in Python 3.5.1 using asyncio/websockets.
The client is written using React.js and Node.js 4.4.5.
There is a desktop notification displayed when the message is received, if the user has granted the app desktop notification
permissions.
The application is packed using Docker and docker-compose.
## Usage
```
docker-compose build
docker-compose up
```
Two endpoints will be enabled. Go to `localhost:3000` and you will get the client app that will connect to the websocket
server enabled on port 8765.
(Windows 7 users will have to run `docker-machine ip default` and use its IP instead of localhost to connect to the client).