{"size": 439, "ext": "js", "max_stars_repo_path": "resources/user/userRouter.js", "max_stars_repo_name": "cacheUp/scratchpay-backend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/user/userRouter.js", "max_issues_repo_name": "cacheUp/scratchpay-backend", "max_issues_repo_issues_event_min_datetime": "2021-09-02T07:01:45.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T07:01:45.000Z", "max_forks_repo_path": "resources/user/userRouter.js", "max_forks_repo_name": "cacheUp/scratchpay-backend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 33.7692307692, "max_line_length": 57, "alphanum_fraction": 0.7243735763}
const router = require("express").Router();
const controller = require("./userController");

router.get("/", controller.getAll);
// router.get("/doctor", controller.getByDoctor);
// router.get("/admin", controller.getByAdmin);
// router.get("/accountant", controller.getByAccountant);
router.post("/", controller.createUser);
router.put("/:id", controller.editUser);
router.delete("/:id", controller.deleteUser);

module.exports = router;
