How would I make a reddit style comment system?

ie. after one person posts a piece of content, they get comments, those comments get replies, those replies get replied to, and so on.

For each separate “thing” you need to make a collection eg users, posts, comments and replies.

To post a comment you need a button that opens a screen with a form on it. The user then types their post and clicks save or send or whatever. This button creates a new comment that is linked to the user. You would need a page with a list in order to display the comments. On each comment you then need a button that opens a replies input form and so on.

The way you lay it all out and how you link the data depends on how you want it to be used.

I’ve skipped over a lot of detail but I hope that helps.

thanks, i think it does