|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/build-apis-with-nestjs/
课程评论:没有评论
课程名称:NestJs:使用 Typescript 和 NestJs 现代构建 API 的方法 课程概述:Nest.js 是一个渐进式的 Node.js 框架,用于构建高效、可靠且可扩展的服务器端应用程序。NestJS 不仅是一个框架,更是帮助开发者更高效地工作、提升工作幸福感的工具。该框架支持许多先进的工程概念,如领域驱动设计(Domain Driven Design)、事件溯源(Event Sourcing)以及微服务架构(Microservices architecture)。NestJS 基于 Typescript 和 Express.js 构建,结合了面向对象编程和函数式编程的元素。 为什么选择 NestJs?这个框架为开发者提供了灵活性,不会限制你采用特定的方法,而是提供了所需的工具。NestJS 利用现有工具,例如在后台使用 Express,使得应用程序与大多数 Express 中间件兼容。NestJS 的几个亮点包括: - **依赖注入**:NestJS 开箱即用的依赖注入提高了应用程序的效率、模块化和可测试性。 - **模块化**:为在同一领域边界内组织代码提供了模块化结构。 - **灵活性**:NestJS 具备帮助大型团队构建复杂应用的结构,同时保持轻量级,可以根据个人需求选择构建方式。 - **熟悉的 API**:NestJS 深受 Angular 的启发,非常类似于已经成熟的框架如 Spring 和 .NET,从而降低学习曲线和入门门槛。 - **社区支持**:NestJS 是增长最快的框架,已有超过 14,000 个 stars,超越了 HapiJS。 在本课程中,我将教授你 NestJs 的基础知识,包括如何一步一步构建 RESTFUL API。你还将学习如何规划、设计和部署 API,并可通过完整的课程掌握 GraphQL 的相关知识。
Nest.js is a progressive Node.js framework for building efficient, reliable and scalable server-side applications. NestJS is a server-side (backend) application framework beautifully crafted to support developers productivity and make their lives happier. Well, it's not only a framework, it's an enabler of entering the world of advanced engineering concepts such as Domain Driven Design, Event Sourcing, Microservices architecture.I spent a good few years in my career developing large scale apps and it didn't let me down any single time. It's well written, having quality as an objective, modular web framework with a good documentation, delivering nice developer experience. Exactly the same way I'd describe Nest.NestJs is built on the top of Typescript and Express.js. It also combines some elements of Object Oriented Programming and functional programming.Here comes NestJS, a framework which is fully written in TypeScript (it supports JS too, but types are good), it's easily testable and brings in all the necessary stuff you always think about but you don't know what to choose.Why NestJs?NestJS doesn't try to limit you to a particular way of doing things, it just provides the tooling you need. It doesn't try to reinvent the wheel, it utilize existing tools you already know. For example, it uses express behind the scenes which makes your app compatible with the majority of express middlewares.Here are some good reasons why NestJS shines:Dependency Injection - NestJS provides DI straight out of the box, increasing efficiency, modularity and testability of applications.Modularisation - NestJS provides a modular structure for organizing code within the same domain boundary into separate modules.Flexibility - NestJS provides structure, which helps large teams build complex applications and yet comes in as lightweight as possible, so how you want to build is your choice.Familiar APIs you already know - NestJS is heavily inspired by Angular, it is also quite similar to much established frameworks like Spring and.NET. This provides a shorter learning curve and lower entry threshold for developers.Community - NestJS is the fastest rising framework, already with 14K stars surpassing HapiJS. Also, with NestJS leveraging on the Angular way of doing things, things can only get better for the community.In this course, I will teach you the foundations/fundamentals of NestJs. I will teach you how to build RESTFUL APIs step by step. You will also learn how to plan, design and deploy APIs. I have also another separate section of GraphQL.