Autoplay
Autocomplete
Previous Lesson
Complete and Continue
NestJS Fundamentals
Getting Started
Course Disclaimer and User Agreement
Introduction to NestJS (3:54)
Installing the NestJS CLI (command-line interface) (1:27)
Generating our first NestJS Application (1:32)
What’s inside a NestJS Application (4:04)
What we'll be building in this Course
Beginning your NestJS Journey
Creating a REST API application
Prerequisite: Install Insomnia (0:29)
Running NestJS in Development Mode (1:06)
Creating a Basic Controller (4:52)
Use Route Parameters (2:05)
Handling Request Body / Payload (1:48)
Response Status Codes (4:13)
Handling Update and Delete Requests (3:04)
Implement Pagination with Query Parameters (2:19)
Creating a Basic Service (7:53)
Send User-Friendly Error Messages (3:49)
Encompass Business-Domain in Modules (4:37)
Introduction to Data Transfer Objects (6:29)
Validate Input Data with Data Transfer Objects (7:24)
Handling Malicious Request Data (2:09)
Auto-transform Payloads to DTO instances (3:01)
Chapter 2 - Review Quiz
Add PostgreSQL with TypeORM
Before we Get Started (0:47)
Prerequisite: Install Docker (2:09)
Running PostgreSQL (3:06)
How to visualize your Postgres Database (GUI)
Introducing the TypeORM Module (4:04)
Creating a TypeORM Entity (4:00)
Using Repository to Access Database (7:02)
Create a Relation between two Entities (6:14)
Retrieve Entities with their Relations (3:08)
Using Cascading Inserts and Updates (4:49)
Adding Pagination (4:52)
Use Transactions (5:31)
Adding Indexes to Entities (0:54)
Setting up Migrations (7:09)
Chapter 3 - Review Quiz
Dependency Injection
Understand Dependency Injection (3:59)
Control NestJS Module Encapsulation (3:06)
Diving Into Custom Providers (1:17)
Value based Providers (0:56)
Non-class-based Provider Tokens (3:10)
Class Providers (1:03)
Factory Providers (2:20)
Leverage Async Providers (2:08)
Create a Dynamic Module (4:10)
Control Providers Scope (3:59)
Diving Deeper Into Request-Scoped Providers (3:23)
Chapter 4 - Review Quiz
Application Configuration
Introducing the Config Module (4:41)
Custom Environment File Paths (1:17)
Schema Validation (2:59)
Using the Config Service (2:19)
Custom Configuration Files (4:32)
Configuration Namespaces and Partial Registration (4:58)
Asynchronously Configure Dynamic Modules (3:08)
Chapter 5 - Review Quiz
Other Building Blocks by Example
Introducing More Building Blocks (2:20)
Understanding Binding Techniques (6:19)
Catch Exceptions with Filters (7:24)
Protect Routes with Guards (7:39)
Using Metadata to Build Generic Guards or Interceptors (10:05)
Add Pointcuts with Interceptors (7:01)
Handling Timeouts with Interceptors (4:02)
Creating Custom Pipes (5:48)
Bonus: Add Request Logging with Middleware (6:15)
Bonus: Create Custom Param Decorators (3:49)
Chapter 6 - Review Quiz
Generating OpenAPI Specification
Introducing the Swagger Module (3:44)
Enabling CLI Plugin (3:42)
Decorating Model Properties (1:20)
Adding Example Responses (2:03)
Using Tags to Group Resources (1:04)
Chapter 7 - Review Quiz
Testing
Introduction to Jest (1:50)
Getting Started with Test Suites (8:41)
Adding Unit Tests (7:44)
Diving Into e2e Tests (6:09)
Creating our First e2e Test (6:58)
Implementing e2e Test Logic (4:11)
Chapter 8 - Review Quiz
Bonus: Add MongoDB with Mongoose
Before we Get Started (0:43)
Prerequisite: Install Docker (2:31)
Running MongoDB (2:59)
Introducing the Mongoose Module (2:36)
Creating a Mongoose Model (4:51)
Using a Mongoose Model to Access MongoDB (8:41)
Adding Pagination (4:56)
Use Transactions (6:03)
Adding Indexes to Schemas (1:17)
Chapter 9 - Review Quiz
Congratulations and Thank You!
Congratulations
Running PostgreSQL
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock