|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/mastering-jwt-authentication-in-nodejs-with-express/
课程评论:没有评论
课程名称:精通Node.js与Express中的JWT身份验证 课程概述:通过在真实的Node.js环境中掌握JSON Web Tokens(JWT),解锁安全用户身份验证的强大功能。本课程专为希望使用现代实践与Express.js和模型-视图-控制器(MVC)架构模式构建可扩展、安全后端系统的开发者设计。 课程的第一部分,我们将使用MVC结构设置一个干净且有组织的Express.js项目。您将学习如何将代码库分隔为模型、视图和控制器,从而创建可维护和可扩展的应用程序。我们将覆盖路由、中间件和文件结构等所有内容,以准备专业级的后端基础。 第二部分深入探讨JWT——它是什么、如何工作以及为什么它是最广泛使用的无状态身份验证方法之一。您将学习如何生成、签名、验证以及保护使用JWT的路由。到课程结束时,您将从头构建一个功能齐全的身份验证系统,包括安全登录、注册、令牌刷新和受保护路由。 本课程非常适合对JavaScript有一定了解的开发人员,他们希望深化后端技能,并使用JWT构建真实的身份验证系统。课程中未涉及会话身份验证系统,尽管它与JWT令牌相比有其优缺点,建议您阅读相关内容,以便比较并决定哪种系统更适合您的应用需求。
Unlock the power of secure user authentication by mastering JSON Web Tokens (JWT) in a real-world Node.js environment. This course is designed for developers who want to build scalable, secure backend systems using modern practices with Express.js and the Model-View-Controller (MVC) architectural pattern.In the first part of this course, we start by setting up a clean and organized Express.js project using the MVC structure. You'll learn how to separate your codebase into models, views, and controllers to create maintainable and scalable applications. We'll cover routing, middleware, and folder structuring-everything needed to prepare a professional-grade backend foundation.The second part dives into JWT-what it is, how it works, and why it's one of the most widely used methods for stateless authentication. You'll learn how to generate, sign, verify, and protect routes using JWTs. By the end, you'll have built a fully functional authentication system from scratch, including secure login, registration, token refresh, and protected routes.This course is perfect for developers familiar with a fairly good knowledge regarding JavaScript who want to deepen their backend skills and build real-world authentication systems using JWT.In the course I do not mention the Session authentication system which has advantages and disadvantages compared to the JWT token. Is a topic for another course I encourage you to read something about it to be able to compare and the decide which of the two systems is more suitable for your application needs.