text: const express = require('express');
  const router = express.Router();
  
  const clientController = require('../controllers/clientController');
  const { checkLogin } = require('../middleware/auth');
  const clientValidator = require('../middleware/clientValidator');
  const { validate } = require('../middleware/validate');
  const credentials = require('../middleware/credentials');
  
  router.post('/login',
      clientValidator.login,
      validate,
      clientController.login);
  
  router.get('/getClientData',
      checkLogin,
      credentials.getWhoRegistered,
      clientController.getClientData);
  
  router.post('/approve',
      checkLogin,
      credentials.getWhoRegistered,
      clientController.approve);
  
  router.post('/remove',
      checkLogin,
      credentials.getWhoRegistered,
      clientController.remove);
  
  router.post('/getAllNotification',
      checkLogin,
      credentials.getWhoRegistered,
      clientController.getNotiFications);
  
  router.get('/getApprovedFis',
      checkLogin,
      credentials.getWhoRegistered,
      clientController.getApprovedFis);
  
  module.exports = router;
  