harbor run -t openthoughts/tasktrove-exp-rpt-stack-jest-large-stack-jest-0547harbor download openthoughts/tasktrove-exp-rpt-stack-jest-large-stack-jest-0547Task: Implement a complete Rawmaterialreminder CRUD API in /app/ that satisfies the given tests, including model, controllers, and routing with proper authentication, validation, and orphaned-user handling.
Requirements (to be implemented):
Create /app/controllers/rawmaterialreminders.server.controller.js
Implement the following actions:
create (POST /api/rawmaterialreminders)
list (GET /api/rawmaterialreminders)
read (GET /api/rawmaterialreminders/:rawmaterialreminderId)
update (PUT /api/rawmaterialreminders/:rawmaterialreminderId)
delete (DELETE /api/rawmaterialreminders/:rawmaterialreminderId)
Deliverables (files to create or modify in /app/):
These changes should enable the API to meet all assertions in the provided Jest/Mocha tests:
Note: Do not modify tests. Implement the described model, controllers, and routes so that the existing test suite passes.