Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 764 Bytes

File metadata and controls

28 lines (22 loc) · 764 Bytes

Solido Todo List REST API

Development

npm install
npm run dev

REST API Endpoints

Endpoint HTTP Description
/todos GET Get all todos
/todos/search?keyword=noun GET Get one todo by keyword via query
/todos POST Add new todo
/todos/:id PUT Update todo by id
/todos/:id DELETE Delete todo by id

Request body example:

{
  "task": "Test the API",
  "priority": "high",
  "deadline": "2018-01-01"
}