Skip to content

Implement Routes to Filter Polls by Participation and Creation #91

@tran2106

Description

@tran2106

Add GET /api/polls/participated route

Returns a list of polls where the current user has submitted a vote
Label these polls as “participated” in the response
Allow frontend to filter and display participated polls separately

Add GET /api/polls/created route:

Returns a list of polls created by the current (logged-in) user
Label these polls as “created” in the response
Allow frontend to filter and display created polls separately

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions