Non relational database modelling
Hello guys i want to make an web app in which user can upload different posts on the site. I want to design a good data structure for this approach. So far my design look like this Collections. Id Users. User_id. UserName,age User_id Posts. Post_id. PostImage, User_id Post_id In this structue every post have its associated user id. Is this is a good structure or did i have some better option? Also in this app user can also make different collections to make categories of different posts. I try to think but i did not know the appropriate approach for model data in database . Please help me i shall be very thankful to you.