Skip to content

A todo list backend built in Node.js, MongoDB, and Express

Notifications You must be signed in to change notification settings

mxpaspa/todo-list-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-list-app

A todo list backend built in Node.js, MongoDB, and Mongoose

1. Unzip the file.

2. From your terminal type: cd Desktop/todo_app to enter the app's main directory

2. Start the application with the command node server.js.

4. The application is now ready to receive requests.

LISTS Endpoints

  • GET /lists
  • GET /lists/:id
  • POST /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

TASKS Endpoints

  • GET /tasks
  • GET /tasks/:id
  • POST /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

SUBTASKS Endpoints

  • GET /subtasks
  • GET /subtasks/:id
  • POST /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

Third Party Technologies Used:

  • mlab.com provided a cloud instance of MongoDB.

About

A todo list backend built in Node.js, MongoDB, and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published