/NestJS-Fundamentals-Course

NestJS Fundamentals Course Get up to speed with NestJS fast. Master the building blocks and essentials concepts behind creating your own enterprise-grade applications.

NestJS Fundamentals Course

Get up to speed with NestJS fast.
Master the building blocks and essentials concepts behind creating your own enterprise-grade applications.

Prepare for an in-depth guided course & walk-through of all the fundamentals of a NestJS application from the Creator Kamil Mysliwiec himself, and Mark Pieszak (Core Team Member).

  • Step-by-step lesson progression, code everything alongside us!
  • Featuring 80 videos (with subtitles) and over 5 hours of content
  • Build a real-world REST API application with NestJS
  • Learn and use all the most important NestJS building blocks
  • Learn how to interact with both SQL & NoSQL databases
  • Official NestJS Certificate of Completion

What's inside the course... πŸ‘€

Getting Started

Link: πŸ”— Getting Started

  1. Introduction to NestJS

  2. Installing the NestJS CLI (command-line interface)

  3. Generating our first NestJS Application

  4. What’s inside a NestJS Application

  5. What we'll be building in this course

  6. Beginning your NestJS Journey

Creating a REST API application

Link: πŸ”— Creating a REST API application

  1. Prerequisite: Install Insomnia

  2. Running NestJS in Development Mode

  3. Creating a Basic Controller

  4. Use Route Parameters

  5. Handling Request Body / Payload

  6. Response Status Codes

  7. Handling Update and Delete Requests

  8. Implement Pagination with Query Parameters

  9. Creating a Basic Service

  10. Send User-Friendly Error Messages

  11. Encompass Business-Domain in Modules

  12. Introduction to Data Transfer Objects

  13. Validate Input Data with Data Transfer Objects

  14. Handling Malicious Request Data

  15. Auto-transform Payloads to DTO instances

Add PostgreSQL with TypeORM

Link: πŸ”— Add PostgreSQL with TypeORM

  1. Before we Get Started

  2. Prerequisite: Install Docker

  3. Running PostgreSQL

  4. Introducing the TypeORM Module

  5. Creating a TypeORM Entity

  6. Use Repository to Access Database

  7. Create a Relation between two Entities

  8. Retrieve Entities with their Relations

  9. Using Cascading Inserts and Updates

  10. Adding Pagination

  11. Use Transactions

  12. Adding Indexes to Entities

  13. Setting up Migrations

Dependency Injection

Link: πŸ”— Dependency Injection

  1. Understand Dependency Injection

  2. Control NestJS Module Encapsulation

  3. Diving Into Custom Providers

  4. Value based Providers

  5. Non-class-based Provider Tokens

  6. Class Providers

  7. Factory Providers

  8. Leverage Async Providers

  9. Create a Dynamic Module

  10. Control Providers Scope

  11. Diving Deeper Into Request-Scoped Providers

Application Configuration

Link: πŸ”— Application Configuration

  1. Introducing the Config Module

  2. Custom Environment File Paths

  3. Schema Validation

  4. Using the Config Service

  5. Custom Configuration Files

  6. Configuration Namespaces and Partial Registration

  7. Asynchronously Configure Dynamic Modules

Other Building Blocks by Example

Link: πŸ”— Other Building Blocks by Example

  1. Introducing More Building Blocks

  2. Understanding Binding Techniques

  3. Catch Exceptions with Filters

  4. Protect Routes with Guards

  5. Using Metadata to Build Generic Guards or Interceptors

  6. Add Pointcuts with Interceptors

  7. Handling Timeouts with Interceptors

  8. Creating Custom Pipes

  9. Bonus: Add Request Logging with Middleware

  10. Bonus: Create Custom Param Decorators

Generating OpenAPI Specification

Link: πŸ”— Generating OpenAPI Specification

  1. Introducing the Swagger Module

  2. Enabling CLI Plugin

  3. Decorating Model Properties

  4. Adding Example Responses

  5. Using Tags to Group Resources

Testing

Link: πŸ”— Testing

  1. Introduction to Jest

  2. Getting Started with Test Suites

  3. Adding Unit Tests

  4. Diving Into e2e Tests

  5. Creating our First e2e Test

  6. Implementing e2e Test Logic

Add MongoDB with Mongoose

Link: πŸ”— Add MongoDB with Mongoose

  1. Before we Get Started

  2. Prerequisite: Install Docker

  3. Running MongoDB

  4. Introducing the Mongoose Module

  5. Creating a Mongoose Model

  6. Using a Mongoose Model to Access MongoDB

  7. Adding Pagination

  8. Use Transactions

  9. Adding Indexes to Schemas