text: const apiRouter = require("express").Router();
  const topicsRouter = require("./topics.router");
  const usersRouter = require("./users.router");
  const articlesRouter = require("./articles.router");
  const commentsRouter = require("./comments.router");
  const { send405 } = require("../errors");
  
  apiRouter.use("/topics", topicsRouter);
  apiRouter.use("/users", usersRouter);
  apiRouter.use("/articles", articlesRouter);
  apiRouter.use("/comments", commentsRouter);
  
  apiRouter.route("/").all(send405);
  
  module.exports = apiRouter;
  