import { api } from "https://deno.land/x/netzo@0.4.40/plugins/api/plugin.ts";
A fresh plugin that registers middleware and handlers to
to mount RESTful API routes on the /api
route path.
A fresh plugin that creates handlers for the following routes:
GET /api/{endpoint}
find all records matching queryGET /api/{endpoint}/{id}
get an entry by keyPOST /api/{endpoint}
create a new entry (auto-generates id)PUT /api/{endpoint}/{id}
update an entry by keyPATCH /api/{endpoint}/{id}
patch an entry by keyDELETE /api/{endpoint}/{id}
remove an entry by key