A todo list backend built in Node.js, MongoDB, and Mongoose
GET
/listsGET
/lists/:idPOST
/lists- required data params: listTitle
PUT
/lists/:id/toggle_completion- require url params: id
- required data params: listTitle
DELETE
/lists/:id- require url params: id
GET
/tasksGET
/tasks/:idPOST
/tasks- required data params: listTitle
- required data params: taskTitle
- optional data params: taskDescription
PUT
/tasks/:id/toggle_completion- required url params: id
- required data params: listID
DELETE
/tasks/:id- required url params: id
- required data params: listID
GET
/subtasksGET
/subtasks/:idPOST
/subtasks- required data params: listTitle
- required data params: taskTitle
- optional data params: subTaskDescription
PUT
/subtasks/:id/toggle_completion- required url params: id
- required data params: listID
- required data params: taskID
DELETE
/subtasks/:id- required url params: id
- required data params: listID
- required data params: taskID
- mlab.com provided a cloud instance of MongoDB.