Nest.js: A Progressive Node.js Framework

Nest.js is a modern web framework built on a Node.js Express server. With the knowledge of how to use this framework, you can give your applications an organized codebase and a well-defined structure.

The book begins by showing how to use Nest.js controllers, providers, modules, bootstrapping, and middleware in your applications. You’ll learn to use the authentication feature of Node.js to manage the restriction access in your application, and how to leverage the Dependency Injection pattern to speed up your application development. As you advance through the book, you'll also see how Nest.js uses TypeORM—an Object Relational Mapping (ORM) that works with several relational databases. You’ll use Nest.js microservices to extract part of your application’s business logic and execute it within a separate Nest.js context. Toward the end of the book, you’ll learn to write tests (both unit tests as well as end-to-end ones) and how to check the percentage of the code your tests cover.

By the end of this book, you’ll have all the knowledge you need to build your own Nest.js applications.

Type
ebook
Category
publication date
2019-11-28
what you will learn

Handle user authentication and access with the @nestjs/passport package
Store and retrieve data from your database by connecting TypeORM
Use web sockets in your applications
Implement microservices using a custom RabbitMQ transport
Create a swagger v2 specification document with the swagger module
Use the CQRS package for designing and laying out your application

no of pages
317
duration
634
key features
Explore various aspects of the Nest.js framework through a working project * Define the architecture of your application using Angular Universal * Test your application with the Jest testing network
approach
Nest.js explains each topic with elaborate code examples. This book follows a structured flow in which each new chapter builds upon the concept explained in the previous chapters. Throughout the book, code snippets and chapters will reference parts of the code to provide a working example of the concept you are learning.
audience
This book is designed for programmers who want to build modern frameworks with Nest.js. To easily grasp the concepts explained in this book basic knowledge of JavaScript is required.
meta description
Learn all that you need to get started with this well-organized modular framework
short description
Nest.js: A Progressive Node.js Framework is your one-stop solution to learn all about this progressive framework. Starting with the basics, this book covers the entire spectrum of concepts to start building your own Nest.js applications in no time.
subtitle
Hit the ground running with Nest.js
keywords
Nest.js, Node.js, Angular, Angular Universal, microservices, GraphQL, OpenAPI, Swagger, Command Query Responsibility Segregation, CQRS, server-side rendering, unit testing, dependency injection, DI, TypeORM, web sockets, request handling, routing, testing
Product ISBN
9781800204737