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

Add paging (limit, offset), searching, filtering (role, status, project team) for GET endpoint for users (getUsers) #41

Open
aryang13 opened this issue Dec 23, 2023 · 0 comments
Assignees

Comments

@aryang13
Copy link
Contributor

aryang13 commented Dec 23, 2023

Acceptance Criteria

  • add all different handling of getUsers listed in the title
  • add paramters properly to the URL (e.g. use search query parameters)
  • add the middleware function to call
new LambdaBuilder(router)
    .use(new PaginationHelper({ limit: DEFAULT_LIMIT, offset: DEFAULT_OFFSET}))
    .build();

Development tasks

  • work on paging similar to how it is set up in src/standings/getStandings.ts
  • searching
    • do research on what is the best way to do this
    • maybe just using DB call LIKE or using index searching
  • add filtering on different values

Learning Opportunities

  • adding on top of pre-built HTTP Methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants