An example of using server side events in flask. Not to be confused with the flask extension called Flask-SSE.
-
Install python dependencies
pipenv sync
orpipenv sync --dev
if you want dev dependencies -
Start the flask app
pipenv run flask run
-
Open your browser to http://localhost:5000