Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93fe6b0

Browse files
authored
Merge pull request HackYourFuture#117 from HackYourFuture/fix/week3-homework
Extended week 3 homework
2 parents f50d586 + c7266af commit 93fe6b0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

week3/homework/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@
55
Read through the code from the lecture, make sure you understand the flow of the
66
program.
77

8-
Add three more actions:
8+
Add four more actions:
9+
10+
### `readTodo` (`GET /todos/:id`)
11+
12+
Get a single to-do with ID `:id`
913

1014
### `clearTodos` (`DELETE /todos`)
1115

12-
Clears the list of to-dos
16+
Clears the list of to-dos
1317

1418
### `markAsDone` (`POST /todos/:id/done`)
1519

16-
Sets the `done` flag of a single to-do to `true`
20+
Sets the `done` flag of a single to-do to `true`
1721

1822
### `markAsNotDone` (`DELETE /todos/:id/done`)
1923

20-
Sets the `done` flag of a single to-do to `false`
24+
Sets the `done` flag of a single to-do to `false`
2125

2226
## Requirements
2327

0 commit comments

Comments
 (0)