index.js 171 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 const Router = require("koa-router"); const friend = new Router(); friend.post("/"); friend.delete("/:id"); friend.get("/:id"); friend.get(""); module.exports = friend;