Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 727 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 727 Bytes

todos-example

This is an implementation of the TodoBackend.

The application has six routes.

  • GET /todos: Lists all the todos in the database
  • POST /todos: Creates a new todo
  • DELETE /todos: Deletes all the todos
  • GET /todos/:id : Returns a single todo with id
  • PATCH /todos/:id : Edits todo with id
  • DELETE /todos/:id : Deletes todo with id

A todo consists of a title, order number, url to link to edit/get/delete that todo and whether that todo is complete or not.

This example comes with a PAW file you can use to test the various endpoints.

Credits