Objective:
Reddit is a network of communities where people can dive into their interests, hobbies, and passions. Your goal is to build a makeshift Reddit API.
This API needs to comply with the following criteria:
A user should be able to create posts as well as update and delete those posts. • Users should be able to upvote (like) or downvote (dislike) those posts. • Users should be able to comment on posts. • A User should be able to upvote or downvote comments. • A user should be able to query all the posts that they have created. • A user should be able to query all the posts that they have upvoted or downvoted. • A user should be able to see all the posts created by a specific user by using their username. • Viewing any post should show you all the comments for that post as well as how many people upvoted or downvoted the post.