Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write custom code (logic) when using firebase [duplicate]

Is there is something similar to Parse Cloud Code for firebase?

like image 308
Muhammad Hassan Nasr Avatar asked Jul 10 '15 12:07

Muhammad Hassan Nasr


1 Answers

Nowadays there isn't.

But they are working on Firebase Triggers that will supply that need and should be released soon. (There is no release date yet).

What you can do, is create a nodejs server running a background task that process a queue. You can use https://github.com/firebase/firebase-queue for that. It is already prepared to work with many "workers" so it is easy to scale if you need. (Creating more nodejs servers).

like image 56
Douglas Correa Avatar answered Nov 03 '22 01:11

Douglas Correa