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

chore: post new note without parentId passed #153

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
83b4044
Added note relation functions
elizachi Dec 3, 2023
9e18638
Added child-parent logic for POST request
elizachi Dec 4, 2023
b5e8dd6
fix : 10th migration fixed
e11sy Dec 5, 2023
ae34a9f
Added some tests for PATCH method of /note route
elizachi Dec 6, 2023
e51ed3f
Merge branch 'main' into feat/child-parent-relationship
elizachi Dec 6, 2023
1eaf7fc
Added some todos and fix typos
elizachi Dec 6, 2023
b27c565
Fix typos, make a temporary solution
elizachi Dec 6, 2023
49392ab
Fix some tests for POST /note
elizachi Dec 10, 2023
b9c3385
Add query parameter into rute and tests
elizachi Dec 10, 2023
2567f38
Now note relationship functions returns boolean
elizachi Dec 11, 2023
dac71c6
Now route for POST /note can correctly add parent id to the
elizachi Dec 11, 2023
1341bde
Added test for 406 status when parentId doesn't exist
elizachi Dec 11, 2023
ea7a010
Added parentNoteResolver middleware for resolve
elizachi Dec 11, 2023
593c76b
Added parntNoteResolver middleware to /PATCH route
elizachi Dec 11, 2023
41b55de
Added method to get parent note id by note id
elizachi Dec 11, 2023
24a898a
Merge branch 'main' into feat/child-parent-relationship
elizachi Dec 11, 2023
ce3539e
Added two tests for POST/note (200 and 401 status codes without passi…
D2J3D Dec 14, 2023
dc9ed40
Test bug fix note.test.ts
D2J3D Dec 18, 2023
a6cb302
Only my tests left note.test.ts
D2J3D Dec 18, 2023
8e2afb5
Unused variables imports removed note.test.ts
D2J3D Dec 18, 2023
a36ce8c
Tests for note restored note.test.ts
D2J3D Dec 19, 2023
c4c0fbd
Deleted modifications realted to child parent relationship
D2J3D Jan 4, 2024
31084b4
Added test for POST /note
D2J3D Jan 4, 2024
f70ddac
Fix some tests for POST /note
elizachi Dec 10, 2023
bc7dcb5
Added test for POST /note
D2J3D Jan 5, 2024
2294486
Merge branch 'main' into chore/post-note-tests
D2J3D Jan 8, 2024
2f0e946
Broken version
D2J3D Jan 8, 2024
7e0f643
Fixed merge conflicts
D2J3D Jan 8, 2024
db3104a
Minor update - fixed extra-spacing
D2J3D Jan 8, 2024
783bbe4
Update docker-compose.yml
D2J3D Jan 8, 2024
d3ec091
Update note.ts
D2J3D Jan 8, 2024
200abf1
Updated tests for POST /note
D2J3D Jan 15, 2024
dba9f63
Added test for PATCH note/ for a case of trying to update not existin…
D2J3D Jan 15, 2024
d69fcf6
Update migrations (#161)
TatianaFomina Jan 12, 2024
b6216f0
Minor update
D2J3D Jan 15, 2024
2e77b5b
Disabled test for POST new note. Resolved conflict after updating mig…
D2J3D Jan 15, 2024
8592e6c
Restored POST /note test .
D2J3D Jan 21, 2024
860c1aa
Merge branch 'main' into chore/post-note-tests
D2J3D Jan 21, 2024
2cfc5b7
All tests work.
D2J3D Jan 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ services:
ports:
- 127.0.0.1:5432:5432
volumes:
- ./database:/var/lib/postgresql/data
- ./database:/var/lib/postgresql/data
Loading
Loading