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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -