Create new endpoints for /users, such as:
/users/me/posts returns my posts
/users/me/likes returns posts that I liked
/users/:id/posts returns posts of the user
The idea is to let users configure if they wanna share the info such as what posts they liked, email, etc.
Create new endpoints for
/users, such as:/users/me/postsreturns my posts/users/me/likesreturns posts that I liked/users/:id/postsreturns posts of the userThe idea is to let users configure if they wanna share the info such as what posts they liked, email, etc.