DEV Community

KP
KP

Posted on

Designing an API to mash up public and private data

I have a Laravel application with logged-in users, posts, comments and likes (reactions).

I am designing an API to return all the data for a post (similar to this page here ). As you can see, the currently logged-in user can like / react to the main post, or any…

Top comments (0)