Hey frens. I'm building a stack overflow clone for poultry farmers.
For a commenting system, how should I go about modeling comments, and their replies?
I watched a great tutorial by MonsterLessons Academy. https://www.youtube.com/watch?v=sjAeLwuezxo Oleksandr doesn't distinguish between comments and replies, but just adds a "parentId " field, which is null if it is just a regular comment.
But when I look at a particular reply from a facebook thread, they provide a reply_comment_id . Which makes me think they have a more intricate model. For additional context, facebook stops after replies-to-replies.