This webpage is kind of a newsboard, and I want it to be updated with the lastest data in my Database, which is delivered through an API, without the need of a page refresh.
The easiest way I thought was with a timer that make a call every X seconds, but I'm looking for a better approach that use less resources. I read about Webhooks but I can't find a way to implement this and get what I want.
Any suggestions will be really helpful. Thanks in advance!