You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Go to 127.0.0.1:5000 in your browser to access the flask app.
You could also run the index.html directly in the browser to see the same result.
This approach could be considered as external system connect to our socketio. (Such as ReactJS, NextJS ...)
By default, it will be blocked because we don't config the CORS, but in app.py, we are already config it, so it can be access from the external system.
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.