{"size": 648, "ext": "js", "max_stars_repo_path": "routes/index.js", "max_stars_repo_name": "broom-broom-team/broom-broom-server", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "routes/index.js", "max_issues_repo_name": "broom-broom-team/broom-broom-server", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "routes/index.js", "max_forks_repo_name": "broom-broom-team/broom-broom-server", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.0, "max_line_length": 50, "alphanum_fraction": 0.7268518519}
const { Router } = require("express");
const mainRouter = require("./main.router");
const authRouter = require("./auth.router");
const addressRouter = require("./address.router");
const userRouter = require("./user.router");
const postRouter = require("./post.router");
const chatRouter = require("./chat.router");
const adminRouter = require("./admin.router");
const rootRouter = Router();

function router() {
  mainRouter(rootRouter);
  authRouter(rootRouter);
  addressRouter(rootRouter);
  userRouter(rootRouter);
  postRouter(rootRouter);
  chatRouter(rootRouter);
  adminRouter(rootRouter);

  return rootRouter;
}

module.exports = router;
