I use JWT for auth. The auth will be a middleware:
const jwt = require(\'jsonwebtoken\'); require(\'dotenv\').config(); module.exports = (req, res, next) =&g