Learn the MERN Stack with Typescript - Express & MongoDB Rest API Part 3 Authentication & JWT Tokens

preview_player
Показать описание

User Authentication
JWT & Bcrypt

💻 Code:
Рекомендации по теме
Комментарии
Автор

Very well prepared tutorials!!! Would you mind sharing your vscode settings?

JoeBoo
Автор

Great content, easy to follow. Keep uploading the project. Big respect for your efforts!

lukaszbolach
Автор

Thanks Nathan! Just completed, all working correctly. Looking forward to continuing the project with you. Many thanks, Sai

sailee
Автор

Hey Nathan, love your course. It's really easy to follow and very well explained.

Just a piece of advice, when you have to substitute a lot of text (e.g. projects/project to users/user @ 8:00) just select one and press Ctrl + D to select all the ones that match. This way you can substitute all of them in a more efficient manner!

francescogr
Автор

Hi, this is great content! Thank you for your efforts 💯

annusingh
Автор

Hi) Again thx) Had the issue with extending express Request, fixed it with adding index.d.ts file e.g:
export {};

declare global {
namespace Express {
interface Request {
user: {
username: string;
email: string;
password: string;
isAdmin: boolean;
isSuperAdmin: boolean;
resetPasswordToken: string,
resetPasswordExpires: Date,
};
}
}
}

And also start script to "nodemon --files ./server/init.ts". maybe will be helpful for someone)

miketoporkov
join shbcf.ru