Code a Cloud Function for Firebase Realtime Database
Budget: €8 – €30 EUR
Hi everyone.
I need to implement a Cloud Function in Firebase Realtime Database. The function has to remove the childs inside the node "CODIGOS" if they are older than a week, using TIMESTAMP value.
No other nodes in the Database should be affected.
I need the code for the index.js and the package.json.
My thought is that the function should be activated through a cron job, but if there is another better solution, will be nice to know.
The function is for an app made with Kodular, so I don't have any idea of coding. I'll load the zip file you supply and I'll pay when the function is proved and working without problems. I'll try to answer all the question or issues needed for coding.
Forgive me if I have already written some nonsense.
Thanks.
I need to implement a Cloud Function in Firebase Realtime Database. The function has to remove the childs inside the node "CODIGOS" if they are older than a week, using TIMESTAMP value.
No other nodes in the Database should be affected.
I need the code for the index.js and the package.json.
My thought is that the function should be activated through a cron job, but if there is another better solution, will be nice to know.
The function is for an app made with Kodular, so I don't have any idea of coding. I'll load the zip file you supply and I'll pay when the function is proved and working without problems. I'll try to answer all the question or issues needed for coding.
Forgive me if I have already written some nonsense.
Thanks.