@baris you are a rock star!
How to push data from backend to frontend?
I'm still playing with building Plugins for nodebb.
So I used the YouTube API to get some links and data to play with.
How is it possible to push the data to the frontend received by the backend in nodebb?
I have data in Variables:
let videoID = data.items[i].id.videoId; let videoURL = "https://youtube.com/watch?v=" + data.items[i].id.videoId; let videoTitle = data.items[i].snippet.title;
I want this data to send out to the frontend like:
<div> videoID1 videoURL1 videoTitle1 </div> <div> videoID2 videoURL2 videoTitle2 </div> ...
Can you give me sime tips or some links to archive back/frontend rendering?
Thank you in advance!