I have a real time database(google firebase), and its data is constantly changing, I want to display this data on my template without reloading the template itself. I couldn't find any related information, also I am sort of a beginner especially to AJAX so if you can provide an example or a documentation that would be really helpful.
Any help is appreciated
This have to be done by AJAX so the easiest way is to do the following
This is the polling method, there is the websocket method where the server notifies the client (browser) when there is a change.