This video is incredibly comprehensive, covering everything from setting up the environment to using the Firebase Emulator. I especially appreciate the clear explanations and step-by-step guidance, which made it easy to follow along and understand the concepts ❤
Thanks sir , before this video i was thinking that cloud functions are paid. Now i have got to know how to use them. Now i will use them for my project.
The most clear and concise video on cloud functions i could find!!!👍👍 I have a question. Why didnt the scheduled function get deployed in the first try?
Is it the case that a cloud function follows a call from applicationA to applicationB, and then if applicationB is to return data to applicationA, then applicationB must also make a call to applicationA - a second call? It was a nice intro, and as basic as it needed to be for some understanding, but it did seem one-sided, as all of the data seen was connected with Firebase.
Hey This is really helpful. One request, please make a tutorial on using google apis (e.g. google calendar api) along with node.js or any other language. That would be really beneficial....thanks a lot!!
create a function which is fired whenever a document is added to collection, then check for whatever you need to, in your case grapes, and if it exist then do the logic using if else.
Thank you for this video which nicely introduced cloud functions to me. Now, because I'm so new, I don't know if I am thinking incorrectly by wanting to ask you how the cloud functions could perform coded functionality in the back-end and then deliver data concerning that functionality to the front-end - because that's what I have in mind for cloud functions at this time. So, for example, when you wrote Hello World messages as responses, is it possible for those messages to be received on a Flutter application, and 'how?' if 'yes'?
Think of cloud functions as a backend, where you send a request and get a response back...in your case Flutter, you can use call a cloud function to send and API call to the cloud function and receive a response...if I am not clear, ask me again ...
@@mafiacodes Thank you for your response, I believe you have answered my question. It means that the caller would receive a response at the caller's end. Perfect 🙂
Is it not possible to write to the Database/Document? Because you covered most of the events functions but what about when you want to give the user a e.g Fruit or a Banana? Or maybe a weapon? What function do I call to write to Firebase? I do also want to have a Check if let's say the user already has 1 banana, and he attempts to get another banana, I want to only allow the user to have 1 banana. So if he already has 1 Banana I want to reject his request how would you do this all in one function?
Thank you for this video! Whenever you get a chance can you try making a video using cloud functions to send a push notification using FCM and cloud functions? Thank you!
Thanks for this awesome tutorial! I already have a Quasar Framework based app to which I'd like to add Firebase Cloud functions. How do I go about doing that?
Nevermind. It looks like I can do 'firebase init' inside my existing project without breaking anything, provided there's no functions folder already, assuming I'm only adding Cloud Functions. Thanks again for the tutorials!
Hello ,firebase emulators:start i emulators: Shutting down emulators. Error: Could not spawn `java -version`. Please make sure Java is installed and on your system PATH.
my cloud functions were not accessible by default, so I had to change the permissions to all users which obviously makes my firestore vulnerable to malaccess. Can you make a video on how to set permissions for cloud functions and how to authenticate in development.
If you are getting this error on _firebase login_ : Error: Cannot run login in non-interactive mode. See login:ci to generate a token for use in non-interactive environments. Do _firebase login --interactive_
@@kelvinotundo2071 when answering a question, just answer the question asked rather than give suggestion on procedures to follow that wasn’t specific to the question asked.
const response= axios ()... res.send(response) Axios be being asynchronous call , so how do you ensure that the value of axios call is completed before calling res.send()
it might be I missed the await keyword, or it should be using then,,,can u point out the time at which this thing occurs ? Edited: I have the await keyword there on line 20 😉
I see that, I have used the await there on the axios call, you can see that, so that we only move to the line 20 only after the async call is completed on line 19 because of the await keyword there...
Getting this error when I hit the API ⚠ functions: Failed to initialize and load trigger. This shouldn't happen: Failed to read credentials from file path/to/key.json: Error: ENOENT: no such file or directory, open 'path/to/key.json'
You have not provided the path of the json file you downloaded after setting up the firebase project and thus the problem, or else try to put in the path of the downloaded file.
@@mafiacodes can i get user token in firebase emulator ? or login a user on firebase emulator ? i want to write a middleware in express to verify user token
is it possible for an android app that is connected to the same firebase project to use the support of cloud functions without deploying? (spark plan) since not every student would have a credit card in India