ajaichemmanam / react-flask-socketio

This is a base code for testing websocket connection between python flask with socketio as Server and react Webapp as client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-flask-socketio

This is a base code for testing websocket connection between python flask with socketio as Server and react Webapp as client

Run server.py (localhost:5000)
Go to socketapp, Open CMD and type "npm start"
The data sent from python server is being displayed in the browser
Click on "Start/Stop" to start or stop sending data from the server



## Requirements Requires Python 3+
npm i socket.io-client

pip install Flask-SocketIO
pip install gevent-websocket

About

This is a base code for testing websocket connection between python flask with socketio as Server and react Webapp as client


Languages

Language:JavaScript 59.3%Language:Python 22.2%Language:HTML 11.9%Language:CSS 6.5%