Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 540 Bytes

File metadata and controls

17 lines (14 loc) · 540 Bytes

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