Skip to content

geniuscoder01/todo-list-vb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todoapi

All bonus features implemented.
 For setup, run npm i, node server.js

Sample api requests use Postman Register

POST http://localhost:3000/register
{
  "username": “vit”,
  "password": "test123"
}

login and get token:

POST http://localhost:3000/login
{
  "username": “vit”,
  "password": "test123"
}

create todo

POST http://localhost:3000/todos
{
  "title": “task tod2 “,
  "priority": 2
}

get todos

GET http://localhost:3000/todos

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published