Best way to implement messages into Firebase database? -


i have app uses database. has node users store users info, node usernames can grab uid given username (to query users in app), , "familys" node contains shared data.

i want able "leave" messages other users, should create whole new node store messages? should store messages under uid of user?

thanks.

examples of nosql firebase database structures simple chat apps, etc appreciated.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -