Step 11:-Login Controller const ErrorResponse= require('../util/errorResponse') const asyncHandler =require('../middleware/async') const login= require('../models/login'); // Insert data into db exports.insertData =... READ MORE >>
Step 10:-Login Model Package to run Npm i bcryptjsNpm i jsonwebtoken Config file JWT_SECRET=shairyJWT_EXPIRE=30d const mongoose =require('mongoose'); const bcrypt =require('bcryptjs'); const jwt= require('jsonwebtoken'); const... READ MORE >>
Recent Comments