CRUD created with middleware framework for Deno's http server, including a router middleware.
Connection to Mongodb
deno run --allow-net --allow-write --allow-read --allow-plugin --unstable --inspect server.ts
denon start
User registration, required fields email and password.
URL: api/v1/register
Login.
URL: /api/v1/login
Create new item from to-do list, name required field.
URL: /api/v1/create
Get all items from to-do list.
URL: /api/v1/todos
Gets a single item by its id.
URL: /api/v1/todo/5edfcc3500cc3198003ec638
Pagination from to-do list.
URL: /api/v1/pagination?skip=1&limit=5
Updating the item's data, the required field is: id and name.
URL: /api/v1/update
Delete item, id required field
URL: /api/v1/delete