I am making a youtube clone, I have multiple apis – videos api, likes api, comments api, subscription api etc
I am making the page where we watch the video in youtube ie.,
video display page in youtube
to build this page, we need the video url, No. of likes, comments, user subscribed or not
so which is best
- hitting 4 Apis and getting the data or
- make an api which queries 4 collections and returns the result,
3