text: const router = require("express").Router();
  
  const teacherController = require("../controllers/teacherController");
  const authMiddleware = require("../middlewares/authMiddleware");
  
  router.get("/valid", authMiddleware.validation, teacherController.isCompleted);
  
  router.post("/", authMiddleware.validation, teacherController.upsert);
  router.get("/", authMiddleware.validation, teacherController.details);
  
  module.exports = {
    router,
  };
  