What is the difference between collection and array inside documents? In the document 'burgerHut' you made a sub collection there called 'reviews' that has a list of review. I can also add a field with type array inside the document 'burgerHut' called 'reviews' right? What's the difference?
firebase-admin package provides many APIs including Firestore API. Firestore support in firebase-admin package is actually through @google-cloud/firestore libraries. If you only need Firestore APIs, then it doesn't matter which package you use. However, if you need other firebase APIs, go for the firebase-admin package. Hope this helps :)
@@ambientcoder5462 since you are here, i have one more question. what is firebase-functions package for. I m trying to populate redux store in my ssr. I write the code with firebase-admin and it successfully fetched the data, i could console it. However when start the app, i get error that too many dependencies not found including "fs" module. this error indicates that I am using client-side modules on the server, but firebase-admin %100 percent server-side module. I do not know which package is best for fetching data from firebase
firebase-functions package is an SDK to execute event driven code using a serverless architecture on Google Cloud functions. If you don't plan to run your code on it, you don't need to use this package. As for the errors, there could be a number of reasons for them. To keep things simple, if all you need is to fetch data from Firestore, then you could use @google-cloud/firestore package. Make sure to use the latest version. If you're still seeing errors after switching to this package, you could post a detailed issue under github.com/googleapis/nodejs-firestore/issues.
I'm getting this issue any fixes: code: 7, details: 'Missing or insufficient permissions.', metadata: Metadata { internalRepr: Map(0) {}, options: {} }, note: 'Exception occurred in retry method that was not classified as transient'
They are two different products, so it really depends on the requirements of your application. My recommendation would be to use this when the rest of your application is set up in Google Cloud Platform as well.
@@ambientcoder5462, wish you can create a series using graph api with firebase admin ; I find hard to separate codes like controller and modals and view, perhaps you can assist. Even if it's a task manager app able to work with different resources (different collection at root) with reference too. I hipe it make sense. But don't feel obligated to deliver on this request, whatever you come up with I'll surely appreciate. Greetings from Tanzania 🇹🇿
That’s a good suggestion, I’ll definitely consider doing a series around that topic. Thanks for the kind words and your feedback. It’s great to have a fan from Tanzania!
Lovely presentation. Exactly what I have been looking for
Thanks! I'm glad you liked it.
Excellent!! I really appreciate this video. In few minutes!!!
Excellent walk-through. You can tell it’s better than RTDB for a lot.
Thanks. Appreciate the support :)
A trick: watch series on Kaldrostream. Been using them for watching all kinds of movies lately.
@Cannon Gavin yea, have been watching on kaldroStream for since november myself :D
Very clear presentation, thank you
Thanks Boris 🙂
Thank you very much for this video
This is great, what i needed for my project but please the code were very tiny, wish you could zoom in little more.
Thanks for the feedback, I will definitely consider the font size in future videos.
Thanks thanks thanks!!!!
super simple!
What is the difference between collection and array inside documents? In the document 'burgerHut' you made a sub collection there called 'reviews' that has a list of review. I can also add a field with type array inside the document 'burgerHut' called 'reviews' right? What's the difference?
what is the difference between @google-cloud/firestore and firebase-admin packages?
firebase-admin package provides many APIs including Firestore API. Firestore support in firebase-admin package is actually through @google-cloud/firestore libraries.
If you only need Firestore APIs, then it doesn't matter which package you use. However, if you need other firebase APIs, go for the firebase-admin package. Hope this helps :)
@@ambientcoder5462 since you are here, i have one more question. what is firebase-functions package for. I m trying to populate redux store in my ssr. I write the code with firebase-admin and it successfully fetched the data, i could console it. However when start the app, i get error that too many dependencies not found including "fs" module. this error indicates that I am using client-side modules on the server, but firebase-admin %100 percent server-side module. I do not know which package is best for fetching data from firebase
firebase-functions package is an SDK to execute event driven code using a serverless architecture on Google Cloud functions. If you don't plan to run your code on it, you don't need to use this package.
As for the errors, there could be a number of reasons for them. To keep things simple, if all you need is to fetch data from Firestore, then you could use @google-cloud/firestore package. Make sure to use the latest version.
If you're still seeing errors after switching to this package, you could post a detailed issue under github.com/googleapis/nodejs-firestore/issues.
I'm getting this issue any fixes:
code: 7,
details: 'Missing or insufficient permissions.',
metadata: Metadata { internalRepr: Map(0) {}, options: {} },
note: 'Exception occurred in retry method that was not classified as transient'
any recomendation if use this way or from Firebase console dashboard site.
They are two different products, so it really depends on the requirements of your application. My recommendation would be to use this when the rest of your application is set up in Google Cloud Platform as well.
@@ambientcoder5462 thank u
next time use bigger font size pls. anyway thanks for perfect explanation
Will do. Thanks for the feedback 👌
Liked & subed.
Please, upload more stuff
Thanks for the support :) more coming soon
@@ambientcoder5462, wish you can create a series using graph api with firebase admin ;
I find hard to separate codes like controller and modals and view, perhaps you can assist.
Even if it's a task manager app able to work with different resources (different collection at root) with reference too.
I hipe it make sense.
But don't feel obligated to deliver on this request, whatever you come up with I'll surely appreciate.
Greetings from Tanzania 🇹🇿
That’s a good suggestion, I’ll definitely consider doing a series around that topic.
Thanks for the kind words and your feedback. It’s great to have a fan from Tanzania!
@@ambientcoder5462, thanks for the reply.
About fan from Tanzania, you're welcome to visit, lots of cool places and historical site too.
I’d love to visit Tanzania someday for sure!
Can i retrieve data inside GET method or POST method in index.js
Retrieving data is done in the GET method only. POST is to create new records.
@@ambientcoder5462 and how do I fetch the data of the currentUser in GET method ?Pls help me
Jian yang? IS that you?
Who is that? 😁
@@ambientcoder5462 A character from Silicone Valley tv show 🤣
Haha he’s my second favourite character next to Erlich, but surely I don’t sound like him haha 😂