04 Auth using jwt & cookie
Authentication in Express using jwt and cookie :
--
1. Required module Installation
npm i express cookie-parser mongoose body-parser jsonwebtoken
1.2 setting up & using Middle wares
const app = express();
Using Middlewares
app.use(bodyParser.urlenco...
krayush1109.hashnode.dev3 min read