Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(First task): add GET all notes by parentNote endpoint #279

Closed
e11sy opened this issue Oct 30, 2024 · 0 comments
Closed

(First task): add GET all notes by parentNote endpoint #279

e11sy opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers should not be merged This change should not be delivered on prod

Comments

@e11sy
Copy link
Contributor

e11sy commented Oct 30, 2024

Problem

Add route for API that would be available by GET /notes/:parentNoteId endpoint
It should return all notes, whose parentNoteId === request.querystring.parentNoteId

Steps

  • Add GET /:parentNoteId endpoint for NoteListRouter
  • Add getNoteListByParentNote() method for NoteService
  • Add getNoteListByParentNote() method for NoteRepository
  • Add getNoteListByParentNote() method for NoteStorage
  • Add tests for the route
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers should not be merged This change should not be delivered on prod
Projects
None yet
2 participants