|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/nodejs-rest-api-jwt-security-mongodb-complete-guide/
课程评论:没有评论
课程名称:Node.js REST API与Express及MongoDB - 稳定架构 课程概述:想学习如何使用Node.js、Express和MongoDB构建REST API吗?如果是,那么这个课程适合你。在本课程中,你将学习如何在Node.js中创建MVC模式的REST API架构,使用Mongoose与MongoDB进行交互,使用JWT(JSON web token)来保护API,以及使用流行的开源工具Swagger进行API文档撰写。随着微服务的兴起,REST API架构已成为趋势,许多公司正从传统的单体服务器架构转向REST API架构。 REST API是什么?RESTful API是一种应用程序接口(API),它使用HTTP请求来获取、更新、添加和删除数据。为什么在REST API中使用MVC模式?MVC模式/架构允许将代码解耦为多个模块,如控制器、服务、模型和路由,使你能够轻松扩展代码,而无需担心代码维护,因为MVC架构中的所有节点能够同步正常工作。 本课程将教授以下内容: - Node.js和Express中的REST API。 - REST API Node.js中的MVC架构。 - 使用Mongoose在Node.js中与MongoDB交互。 - 使用Mongoose执行创建、更新、删除和查找查询。 - 在Node.js中使用Mongoose分页查询创建分页API。 - 使用JSON Web Token (JWT)保护REST API。 - 使用POSTMAN等工具测试API。 - 在Node.js中编写中间件。 - 在Node.js中进行Joi对象模式验证。 - 在API服务器上托管你的REST API的Swagger文档。 - 在REST API中创建可重用的服务。 - 在Node.js REST API中启用跨域资源共享(CORS)。 - Mongoose模式和模型。 - HTTP请求基础:请求体、路径参数、查询参数和头信息。 - Node.js中的CRUD API。 - 登录/认证API以生成令牌。 - REST API设计。 - Node和NPM的使用。 - 以及更多内容。 通过本课程,你将掌握构建高效、安全的REST API所需的核心技术和最佳实践。
Want to learn how to build REST API with Nodejs, Express, and MongoDB ?? If yes, then this course is for you. In this course you will learn how to create MVC pattern REST API architecture in Nodejs, communication with MongoDB using Mongoose, Securing API with JWT ( JSON web token) and documenting API using popular open-source tool called swagger.We are in the world of REST API architecture because of the boom in the micro-services. Every company is moving toward REST API architecture from traditional monolithic server architecture. What is REST API ?A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. Why MVC Pattern in REST API ? MVC pattern/architecture allows you to decouple your code into various modules such as controller, services, models and routes so that you can scale your code without any burden of code maintenance as all the nodes in the MVC architecture works in sync and as expected.You will be learning the following things in this course:♦ REST API in Nodejs and Express.♦ MVC Architecture in REST API Nodejs.♦ Interaction with MongoDB in nodejs using mongoose.♦ Create, update, delete and find query using mongoose.♦ Create pagination API using mongoose pagination query in Nodejs.♦ Secure REST API with JSONWEBTOKEN ( JWT ).♦ Use tools such as POSTMAN to test API.♦ Write middleware in Nodejs.♦ Joi object schema validation in Nodejs.♦ Host swagger documentation of your REST API on your API server itself.♦ Create Re-usable services in REST API.♦ Enable Cross-Origin Resource Sharing (CORS) in Nodejs REST API.♦ Mongoose schema and models.♦ HTTP request basics: Request body, path params, query params, and headers.♦ CRUD API in Nodejs.♦ Login/Authenticate API to generate a token.♦ REST API Design.♦ Node and NPM.♦ and more.