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

Skip to content

Commit c80a9ac

Browse files
committed
week3 homework
1 parent 6c7b97a commit c80a9ac

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

week3-homework.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Node JS Class
2+
3+
## Homework Week 3
4+
5+
Create Node JS server that:
6+
7+
- Listens on port 8080
8+
9+
- Responds to these endpoints:
10+
- /todos/list
11+
- Returns list of todos
12+
- /todos/add
13+
- add a todo to the list and return the new list
14+
- /todos/remove
15+
- remove a todo and return the new list
16+
- /todos/reset
17+
- clear all the todos from the list
18+
- Looks for the correct http method in the request
19+
20+
A front-end html page that makes the correct calls and displays the results will be supplied. Don't edit the html page.

0 commit comments

Comments
 (0)