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?
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.
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!!
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.
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?
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_
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.
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.
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 🙂
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!
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...
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
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.
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 ❤
Mate, thank you very much! This video helps me a lot and I finally figured out how it works) 40 minutes passed as one! You are big!)
This was exactly the video that I needed. I appreciate your time and willingness to share knowledge. Thanks from a hobbyist developer.
Your explanation technique made this video mesmerising
Good tutorial, zero dislike is big achievement in UA-cam! 😂
Thank you
Oh man, this video was worth it just for knowing about that vscode plugin
Thanks for putting this together
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.
Glad to hear that
Indeed I have to agree this is the most complete , the best organized and the most easy to understand video on cloud functions.
This is exactly the video I was looking for on firebase functions. I appreciate your time and willingness to share knowledge. Thank you so much sir
You are welcome!
Awesome video. you explained firebase functions very well. thank you so much!🖤
lowkey this tutorial is one of the best tutorials i ever watched! thank you, sir 🫡
This was very helpful... Thanks for making this...
Thank you so much brother, got it very correctly
Amazing video bro. It just made my day clearing every doubt i have about these functions and using them. Thanks alot.
Excellent tutorials!! Very thorough in your coverage and thoughtful in your explanations. Much appreciated.
I really enjoyed the long journey. Thank you so much.
Really really good tutorial.. Thanks mate!! Now.. I understand much better how cloud functions work.. Cheers!!
Thanks bro
great video bro. explained everything to setup a cloud function.
Subscribe like share
Hello, your explanation is awesome and very clear even beginner in firebase. Thank you so much.
You deserve a medal...
Really helpful and clear thank you
You're very welcome!
Thank you very very much!
Really good knowledge
You provided each and every info in details awesome thank you for the video
thanks for this wonderful tutorial. subscribed
Easy and up to date, good work !
perfect tutorial for me right to point, no boring details, thank you sir.
This was very helpful, thank you !
This is the exact video I was looking for...thanks a lot!
thank you, i am a complete beginner and your video is very easy to follow
Thanks bro, for this amazing explanation.
Thank you so very much
excellent tutorial, thanks
Thanks for this video
Excellent tutorial, thank you so much... 🥇
congratulations for the tutorial, many many many thanks
Subscribe Like Share
@@mafiacodes done! thanks
thank you for your hard work
Your explanation is awesome.
Please do more tutorials on cloud functions.
Thanks, will do!
Can't thank you enough for such an awesome tutorial
Very helpful guidelines 🔥
Thank you for this amazing video !
Very useful, Thank you
this channel is gem
Subscribe like share 👍
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?
Awesome tutorial! Thank you!
great video, thanks!
Great
Great tutorial man, thank you so much!
Thank you, that was good
🔥
Subscribe like share
in my setting up the CLI the error is "the system cannot find the the path specified" need help
Very good tutorial, thanks lot.
Subscribe like share
well done bro. your voice is quite pleasant.
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.
thanks sir! really helpful :)
simply... it was a good tutorial
Great Job!
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!!
Great 💯
What an amazing tutorial....
Awesome Video
Can you help me how can we use REST API to hit firestore CRUD operations? Please humble request
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.
the best tutorial
💫
How can I create Azure pipeline to deploy the function into Gcp for this???
excelente
awesome
What about the blaze plan, I have to purchase it or I can use it for free for testing purposes?
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 very much, I have a question what if I want to get data from another web site every five minutes, what should I do?
Hi How to get hot deploy working, for me its not working
can we run the firebase cloud functions inside docker
i have cors error and 400 bad request , did someone know how to solve it ?
should we have to install java for pubsub emulator? because it is not running and throws error that says to install java. Please answer
I don’t remember since I have java already installed, may be u should also do so
Terbaik bro!
How to use Twillio extension in firebase?.
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_
How do you initialize the functions emulator to use .httpsCallable?
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 Thanks for quick reply .
Issue resolved : I was initializing the app without credentials .
Broo thanku soo much. Please make a video on pub sub kill switch we need it before going for production!!
pub sub is also there I guess in this video
@@mafiacodes kill switch for protecting billing
Why no to lint? Ever other tutorial and fire base developers says to select yes because it’s very helpful.
On thing i missed, and idk if you said it or not but I leave it here just in case YOU NEED TO RUN NPM RUN BUILD FOR EMULATOR TO DETECT NEW FUNCTIONS
Wow..amazing!..thank you man a million. Just one question, in a to-do app, can I create a function to delete att user-related tasks?
Yup, you can virtually do anything from a cloud function,
Subscribe like share
No sub folders in functions?
Can you please make a video on how to creat get req to read firestore collection users docId
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.
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 🙂
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!
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 😉
@@mafiacodes At 18:34 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...
Please I have a question : what is the window where you write these lines of code? Thank you
Vscode
thank you good one. Is there tutorial from you to send a notification?
Can you please make videoes on AWS lamda functions using NodeJS
can I save data from the local firebase emulator to the localhost machine, and again import it whenever we restart our project
Nopes not yet
Sad, Firebase Cloud function does not work with Spark plan Anymore :(
Yup it does not
Very nice explaination.
I have a doubt can any one help "why we export every function"?
noice
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
I don’t think so, cloud function need u to be on blaze plan, but it’s not chargeable upto certain executions.
SBI visa debit will work if you enable international transaction on that card.
@@tamuahmed5303 Even national ones work now. 😎
Nice video, how could you add some conditions, so that the function is only trigger if the updated name match "grapes" for example ?
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.