Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aditya-xq/flask-socketio-demo

A demo of using events to perform client-server communication to display real time data on a web page. Bitcoin prices are fetched using Coinbase API and displayed in real time.
https://github.com/aditya-xq/flask-socketio-demo

flask flask-soc python web web-socke

Last synced: about 1 month ago
JSON representation

A demo of using events to perform client-server communication to display real time data on a web page. Bitcoin prices are fetched using Coinbase API and displayed in real time.

Awesome Lists containing this project

README

        

# flask-socketio-demo
A simple demo to demonstrate using events to perform client-server communication and display data on a web page. Bitcoin prices are fetched using Coinbase API and displayed in real time.

![image](https://user-images.githubusercontent.com/32733783/146593242-79c11b31-b578-4445-9f07-ca0bacecc13a.png)

To run the program, type ```python app.py``` in your console while you are in the project directory.

Visit `localhost` in your browser to access the flask app.

Read the dev blog and explanation [here](https://medium.com/the-research-nest/how-to-log-data-in-real-time-on-a-web-page-using-flask-socketio-in-python-fb55f9dad100)