Skip to content

misan7/todo-list-mongoose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TO-DO LIST

This repository contain a task manager made with ExpressJS and Mongoose.

To watch the project you have to clone it, install npm modules and Bower.

This project responds to localhost:3000/tasks

Available Actions

[POST] tasks

Add a task just giving a title value.

    curl -X POST --data "title=Do the harlem shake" localhost:3000/tasks

[DELETE] task/:id

To remove elements from the task manager, you just need the id of the element.

    curl -X DELETE localhost:3000/task/592b10534828231a386a6aa5

[PUT] task/:id

To edit an element you just need the id. You can change the task from pending to done || change the title.

curl -X PUT --data "completed=true" localhost:3000/task/592b10534828231a386a6aa5
curl -X PUT --data "title=Do the Best harlem shake" localhost:3000/task/592b10534828231a386a6aa5

About

📋 Task Manager made with Mongoose & ExpressJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published