index.js
const auth = require(\'../middleware/auth\'); ===>>>> this is middleware for jwt auth router.get(\'/authorize\', auth, async (req, res, n