This module defines the routes for todo-related operations such as creating, updating, and deleting todos.
It uses the todo controller to handle the business logic of the application.
- Source:
Members
(static) /api/todo/create
This route handles creating a new to-do item.
The specific logic for creating a to-do item is defined in the todo controller.
- Source:
(static) /api/todos
This route handles getting all to-do items.
The specific logic for getting all to-do items is defined in the todo controller.
- Source:
(static) /api/todos/:id
This route handles updating an existing to-do item.
The specific logic for updating a to-do item is defined in the todo controller.
- Source:
(static) /api/todos/:id
This route handles deleting an existing to-do item.
The specific logic for deleting a to-do item is defined in the todo controller.
- Source: