This resolves #515 by creating a service file, assessmentsService.ts, that is callable by our router file, assessmentsRouter.ts, containing functions that perform data model actions. It also includes all accompanying tests and example data with which to test our feature.
(Unfortunately due to the chaotic nature of Week 8, it also includes the work from many frontend-related tickets, since they were dependent on the work in this ticket, but the tests were not completed.)
Finally, dependent packages have been brought up to date, and the minimum Node.js version has been upgraded to the latest Node.js LTS, v18.16.
Checklist
[x] Related issue appears at beginning of pull request title with pound sign, and title describes the changes being proposed.
[x] Related issue is linked in pull request description using closing keywords.
[x] The appropriate label has been chosen for this pull request.
[x] The correct project has been selected for this pull request.
[x] All commits in this branch, including merge commits, begin with the issue number and a pound sign.
[x] Tests have been added, where appropriate; or, no tests are relevant for this pull request.
[x] This pull request contains UI changes, and screenshots of those UI images appear below; or, this pull request contains no UI changes.
Proposed changes
This resolves #515 by creating a service file,
assessmentsService.ts
, that is callable by our router file,assessmentsRouter.ts
, containing functions that perform data model actions. It also includes all accompanying tests and example data with which to test our feature.(Unfortunately due to the chaotic nature of Week 8, it also includes the work from many frontend-related tickets, since they were dependent on the work in this ticket, but the tests were not completed.)
Finally, dependent packages have been brought up to date, and the minimum Node.js version has been upgraded to the latest Node.js LTS, v18.16.
Checklist