Priority: Medium | Labels: api, learner, notes
Description:
Allow learners to create and manage private notes tied to mentoring sessions,
with rich text storage and search.
Acceptance Criteria:
Files to Create:
src/routes/notes.routes.ts
src/controllers/notes.controller.ts
src/services/notes.service.ts
database/migrations/033_create_session_notes.sql
Priority: Medium | Labels:
api,learner,notesDescription:
Allow learners to create and manage private notes tied to mentoring sessions,
with rich text storage and search.
Acceptance Criteria:
POST /api/v1/sessions/:id/notes— create note for a sessionGET /api/v1/sessions/:id/notes— get all notes for a sessionPUT /api/v1/notes/:id— update note contentDELETE /api/v1/notes/:id— delete noteGET /api/v1/notes/search?q=...— full-text search across learner's notesGINfull-text index on note contentupdated_atdescendingFiles to Create:
src/routes/notes.routes.tssrc/controllers/notes.controller.tssrc/services/notes.service.tsdatabase/migrations/033_create_session_notes.sql