msimbao / comp-225-project

0 stars 2 forks source link

Using firebase to get the news #5

Open msimbao opened 3 years ago

msimbao commented 3 years ago

We have firebase storing the news data and can also get it. But for now i will leave out the getting data part cause the news api side is working well on the client side and i've learnt that the data on firebase's realtime database is still not formatted the we need it for injecting into vue.

It's an extremely minor thing and i didn't want to break the app by playing around with the realtime database since these are last minutes and have just left it as is for now since it is working as is

msimbao commented 3 years ago

Oh but if someone wants to do it, its really easy, just have to literally add the firebase access and then add some lines to the populateFeed section to gather the latest news from firebase instead.