How can I synchronise the front-end and back-end to get the data in the real-time than periodically making a request to the back-end API?
I have been using an angular 7.2 framework at the front-end and python as a back-end. I want a technique so that the changes in the back-end and the database can be listened by the front-end and the browser becomes up to date.
Use web sockets :  real time communication between web servers and clients is possible with the help of this protocol.
How to fetch the data using angular 7 from the server (python) in the real-time to keep UI updated?