import { Router } from "express";
import { authenticateToken } from "../middleware/authMiddleware";
import * as ctrl from "../controllers/projectMgmtController";

const router = Router();
router.use(authenticateToken);

router.get("/list", ctrl.getList);
router.get("/project-no-options", ctrl.getProjectNoOptions);
router.get("/:id", ctrl.getById);
router.put("/:id", ctrl.update);

export default router;
