firebase 🔥add new project #44
Labels
documentation
Improvements or additions to documentation
low priority
This issue is not critical and can be addressed at a later time
@AkhilLV try this function, we can use push() method to generate a unique key from firebase.
We have to think about the structure as well (here is what's in my mind):
just like we had user-usernames node we need to create one more something like: users-projects.
There is something called, multi-path update and batch write (which i really dk) for updating more than one node, this ensures that either all nodes update successfully otherwise all fails (data consistency).
The following is a sample function to add project to the path
/projects
(projects is a parent node in this example)The text was updated successfully, but these errors were encountered: