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

Create get all applications endpoint #44

Closed
chromium-52 opened this issue Jan 28, 2024 · 0 comments · Fixed by #50
Closed

Create get all applications endpoint #44

chromium-52 opened this issue Jan 28, 2024 · 0 comments · Fixed by #50
Assignees
Labels
backend Backend

Comments

@chromium-52
Copy link
Member

chromium-52 commented Jan 28, 2024

Background

Recruiters and admins should be able to see all applications submitted in the current cycle. This will be helpful for the frontend where recruiters and admins can filter by unreviewed applications and get an overview of all applicants.

Task

Add a new endpoint that allows recruiters and admins to get all applications for the current cycle.

Request Schema

GET /apps

Response Schema

{
  "applications": GetApplicationResponseDTO[]
}

where GetApplicationResponseDTO is defined here and can be created from an Application entity using the function here.

200 OK

If the applications were retrieved successfully.

401 Unauthorized

If the calling user is not a recruiter or admin.

@chromium-52 chromium-52 added the backend Backend label Jan 28, 2024
@kimharr24 kimharr24 assigned kimharr24 and ojn03 and unassigned kimharr24 Jan 30, 2024
kimharr24 added a commit that referenced this issue Mar 19, 2024
* feat: getAllAplications endpoint resolves #44

* made Cycle fields private, and created env vars for year/semester

* Application Summary DTO

* feat: completed getAllApplications endpoint

* fix: updated semester logic

* fix: updated current semester function and dto mapping

---------

Co-authored-by: Jonathan Chen <[email protected]>
Co-authored-by: Harrison Kim <[email protected]>
ahnfikd7 added a commit that referenced this issue Apr 12, 2024
* feat: getAllAplications endpoint resolves #44

* made Cycle fields private, and created env vars for year/semester

* Application Summary DTO

* feat: completed getAllApplications endpoint

* fix: updated semester logic

* fix: updated current semester function and dto mapping

* mean rating test

* modified mean ratings dto

* code cleanup

---------

Co-authored-by: OJisMe <[email protected]>
Co-authored-by: Jonathan Chen <[email protected]>
Co-authored-by: Harrison Kim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants