/sse_demo

Server sent event demonstration in python and angular

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Description

This project is an example of Server Sent Event in python (backend) and angular (frontend).

Requirements

This demonstration has been implemented using python version 3.10, and angular (npm version 8.15.0 and node version 16.17.0)

To install dependencies

For the backend

pip install -r backend/requirements.txt

For the frontend

cd frontend; npm install

How to run it

Launch the backend

python  backend/main.py

Launch the frontend

cd frontend; npm start 

Access the interface on http://localhost:4200