OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

#515 Create API service file for the assessments feature and wire it up to the router file #585

Closed Awatanka closed 1 year ago

Awatanka commented 1 year ago

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