Realtime Database triggers (pt. 1) with Cloud Functions for Firebase - Firecasts

preview_player
Показать описание
Cloud Functions allows you to write code that responds to changes in your Realtime Database. Doug explains how these triggers work on the backend, and focuses on the onCreate event handler, which triggers when new data is created in the Realtime Database. Stay tuned for future Cloud Function videos, which will focus on the onUpdate, and onDelete triggers.

Рекомендации по теме
Комментарии
Автор

4 years late to this tut and it is still relevant. Good job Doug.

ighsight
Автор

Thanks Doug. Great way to show CF and event handlers. Looking forward for more content. Cheers

yogenp
Автор

Fun example to follow. Gonna try this cool feature. Thanks for sharing

cindysi
Автор

Thanks Doug for uploading this...very much needed for today's work itself..!! Please post next parts also..!!

chetankadam
Автор

Wow! You know what I really admire about you... You're actually taking time to explain things. Its no more feeling like a, "hey check this out" video... Its actually something that coders like me look forward too. Thanks again. And congratulations on the great work. :-)

lgopt
Автор

greeeaaat tutorial!!! Thanks! Definitely wouldn't have been able to do it without this.

aorusaki
Автор

These tutorials are really awesome !! Can we wrap google drive API and cloud functions to add certain functionalities?

SociedadAndroide
Автор

These vids are awesome. Please keep them coming.

theunisdk
Автор

How can we run background triggers on multiple realtime databases? which have same json tree structure. Here I have multiple databases with staging instance and production instance.

santhoshgudla
Автор

One reason to do this on the client side is to save costs firebase will charge for invocations and writes which in turn is very costly.
On a side note, it would be great if google choose not to completely ignore react-native.

LalitYadav-viul
Автор

How do you actually see the console.log statements? Doesn't work for me in the log windows nor from the command line log function

karlbooklover
Автор

Can I test these features - onCreate, onUpdate etc using Function Emulators?

crazymad
Автор

I have 2 diff firebase cloud projects one for dev environment and other is prod environment, But the problem is whenever any functions I create, I have to manually copy paste the code to prod repo then I can deploy it to prod.
Now I'm thinking Is there any ways i setup one repo with multiple environments so that i only need to merge the branch ?

JaydipMakwana-bykw
Автор

Where are you deploying the functions? My terminal doesn't let me do that

galphie
Автор

Is there the boilerplate anywhere to be found?

fotios
Автор

hi, all is great, but im new in work with node.js, i sea the file "serviceAccount.json' ? how i make it? whats in ther? i am nothing found about them?, sorry for my realy bad englisch ;)

Amschti
Автор

Since onMessageCreate is not actually going to be explicitly called anywhere (i.e. it'll run automatically when something is created at the designated path), why do we need to have it return anything at all? It's not like the return value is going to be evaluated.

osharaki
Автор

why you used sleep there for pushing data

yeztechdevelopers
Автор

Wow, awesome video. Explains the concepts. Now, to coding, ....

codewithfongoh
Автор

How to enable audit trail log for firebase realtime database

maganakadventour