I want to achieve a tree like this:
Data:{ Post details, liked, // this checks the post like history table files:[ file one:{ details, liked // this should also check the files like history table but unable to achieve this for now and need help with it }, file two:{ details, }, etc... ], comments:[ comment one:{ details, commenter }, comment two:{ details, commenter }, etc... ] }