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
Book Description
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.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
Who this book is for
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.
]]>