Tip 1 : Basics of JavaScript should be very strong.
Tip 2 : NODEjs and ExpressJs API creation and Routing.
Tip 3 : Knowledge of intermidiete React and React Hooks
Tip 1 : Make it single page
Tip 2 : Mention every certificate, tech stack, internships and jobs
Asked about the reason of switching jobs. Normal basic poersonal details.
1. Personal Details
2. Reason behind switching job
Asked to create a simple login route using NodeJs ExpressJs and MongoDb
How would approach a normal login API in the backend.
router.post('/login', (req, res) => {
const { email, password } = req.body;
User.findOne({ email })
.then((user) => {
if (!user) {
return res
.status(400)
.json({ error: 'User does not exist' });
}
if (
user &&
bcrypt.compareSync(
password,
user.password
)
) {
const token = jwt.sign(
{ userId: user._id, email: user.email },
'secretkey',
{ expiresIn: '1h' }
);
user.token = token;
return res.json({ user });
}
return res
.status(400)
.json({ error: 'Wrong password' });
})
.catch((err) =>
res.status(400).json({ error: err })
);
});

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?