I have a Realtime Database of A Daily Routine App which has a General Node and An Edited Node, In the general node, each weekday is listed, inside which all the objectives in that particular day is listed.
The general functionality is, Suppose Today is Tuesday, Oct 11, 2022 I want the data from the general>Tuesday node to be copied into Edited>11102022. If the 11102022 node doesn't exists then I am making that node and then copying the data.
I am currently doing this client sided only, meaning the client needs to have write access to the database which in the final product, I don't want to include.
I currently am thinking of cloud functions after reading some docs about what it can do. But I have next to no knowledge about this and the docs and other videos don't demonstrate my solution, they only talk about how to review incoming data and other things.
Is there any Easy to follow guide or Which docs should I read to find a solution? Any help with this will be a great help.
Client side copying I am following @Alex Mamo's answer from Moving or copying data from one node to another in firebase database