Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint to retrieve all posts from a given user #239

Open
3 tasks
Monstarrrr opened this issue Jul 2, 2024 · 0 comments
Open
3 tasks

Endpoint to retrieve all posts from a given user #239

Monstarrrr opened this issue Jul 2, 2024 · 0 comments
Labels
[ backend / feature Functionality or significant enhancement for the project

Comments

@Monstarrrr
Copy link
Owner

Monstarrrr commented Jul 2, 2024

Problem

Currently we're getting all posts from users and filter them on the frontend, even when looking for specific posts, which will get slow.
We need a way to retrieve all posts of a certain property (e.g. from user whose id = 42; with tag = "someTag")

Solution

Create endpoints for those cases:

  • Get all posts from user of a given id
  • Get all posts with a given tag
  • ... will have to think about whether we need more
@Monstarrrr Monstarrrr added [ backend / feature Functionality or significant enhancement for the project labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[ backend / feature Functionality or significant enhancement for the project
Projects
Status: No status
Development

No branches or pull requests

1 participant