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

Refactor Events Backend Based on Frontend Refactor #459

Open
3 tasks
ajaygandecha opened this issue May 23, 2024 · 0 comments
Open
3 tasks

Refactor Events Backend Based on Frontend Refactor #459

ajaygandecha opened this issue May 23, 2024 · 0 comments
Assignees
Labels
backend Labels changes to the CSXL backend entities, models, services, or APIs. refactor Used for refactoring current features.

Comments

@ajaygandecha
Copy link
Collaborator

ajaygandecha commented May 23, 2024

This ticket adds a to-do list on some possible improvements to the events backend as I refactor the frontend:

  • Ensure that registration data does not emit all user details - should only emit profile name. Then, create a pagination API route for EventRegistration[] rather than just User[], and replace getRegisteredUsersForEvent with getEventRegistrations on the frontend.
  • Rename the register for event API to be a post as follows: /api/events/register. The body should be the event ID to register for. Same for unregistering.
  • Refactor the events pagination such that by default, filtering by string does not use the time parameters.
@ajaygandecha ajaygandecha added backend Labels changes to the CSXL backend entities, models, services, or APIs. refactor Used for refactoring current features. labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Labels changes to the CSXL backend entities, models, services, or APIs. refactor Used for refactoring current features.
Projects
Status: Summer
Development

No branches or pull requests

2 participants