Alpha Virtual Academy Ltd proposes the Litmus Test Project as a Digital Public Goods. The Platform would house competency frameworks and edtech platform assessments for basic and senior high education as well as out of school vocational and technical education in Ghana.
Description
We need to create the
Assessment
model, generate the controllers to handle CRUD operations, and document the model and controller endpoints.Tasks
Model Creation
Assessment
model in themodels
directory.Controllers
assessmentController.js
in thecontrollers
directory.createAssessment
This should be achieved with the Gemini AigetAssessments
updateAssessment
deleteAssessment
Documentation
Assessment
model.assessmentController
endpoints:POST /assessments
- Create a new assessment.GET /assessments
- Retrieve all assessments.PUT /assessments/:id
- Update an existing assessment.DELETE /assessments/:id
- Delete an assessment.Acceptance Criteria
Assessment
model should be properly defined and exported from themodels
directory.Assessment
model.Additional Notes
Consider implementing additional helper methods or middleware if needed for repeated operations or validations.