Skip to main content
CF

NestJS Fundamentals

5h 17m 22s
English
Paid

Learn the core ideas of NestJS in a clear and practical way. You build each part step by step so you understand how a real app works.

What You Learn

You explore the main parts of a NestJS app. You see how modules, controllers, and services fit together. You learn how to write clean code that is easy to test and grow.

  • Use the key NestJS building blocks
  • Write simple and clear controllers and services
  • Handle both SQL and NoSQL data
  • Work with common patterns like providers and modules

How the Course Works

You follow short lessons in a clear order. You write code with the instructors as you go. The course has 80 videos with subtitles and about five hours of content.

  • Follow each step in the same project
  • See code examples for every topic
  • Pause and review as needed

Project You Build

You create a real REST API with NestJS. You learn how to plan routes, handle requests, and connect your app to a database. Each feature adds a new idea or tool.

Certificate

You can earn an official NestJS Certificate of Completion after you finish the course.

About the Author: Learn NestJS

Learn NestJS thumbnail

Learn NestJS is a paid course platform focused entirely on the NestJS Node.js framework — the modular, decorator-driven server framework most popular among teams that want Angular-style architecture on the backend. The platform is run by NestJS core-team-adjacent instructors and covers the framework end-to-end.

The CourseFlix listing carries seven Learn NestJS courses: NestJS Fundamentals, NestJS Authentication and Authorization, NestJS Microservices, NestJS Advanced Concepts, NestJS Architecture and Advanced Patterns, plus two GraphQL tracks (schema-first and code-first). Material is paid and aimed at Node.js developers building production back-end services with NestJS.

Watch Online 80 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 80 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Introduction to NestJS
All Course Lessons (80)
#Lesson TitleDurationAccess
1
Introduction to NestJS Demo
03:55
2
Installing the NestJS CLI (command-line interface)
01:28
3
Generating our first NestJS Application
01:33
4
What’s inside a NestJS Application
04:05
5
Prerequisite: Install Insomnia
00:30
6
Running NestJS in Development Mode
01:07
7
Creating a Basic Controller
04:53
8
Use Route Parameters
02:06
9
Handling Request Body / Payload
01:49
10
Response Status Codes
04:14
11
Handling Update and Delete Requests
03:05
12
Implement Pagination with Query Parameters
02:20
13
Creating a Basic Service
07:54
14
Send User-Friendly Error Messages
03:50
15
Encompass Business-Domain in Modules
04:38
16
Introduction to Data Transfer Objects
06:30
17
Validate Input Data with Data Transfer Objects
07:25
18
Handling Malicious Request Data
02:10
19
Auto-transform Payloads to DTO instances
03:02
20
Before we Get Started
00:47
21
Prerequisite: Install Docker
02:10
22
Running PostgreSQL
03:07
23
Introducing the TypeORM Module
04:05
24
Creating a TypeORM Entity
04:01
25
Using Repository to Access Database
07:03
26
Create a Relation between two Entities
06:15
27
Retrieve Entities with their Relations
03:15
28
Using Cascading Inserts and Updates
04:50
29
Adding Pagination
04:56
30
Use Transactions
05:34
31
Adding Indexes to Entities
00:55
32
Setting up Migrations
06:58
33
Understand Dependency Injection
04:00
34
Control NestJS Module Encapsulation
03:07
35
Diving Into Custom Providers
01:18
36
Value based Providers
00:57
37
Non-class-based Provider Tokens
03:11
38
Class Providers
01:04
39
Factory Providers
02:21
40
Leverage Async Providers
02:09
41
Create a Dynamic Module
03:56
42
Control Providers Scope
04:00
43
Diving Deeper Into Request-Scoped Providers
03:24
44
Introducing the Config Module
04:42
45
Custom Environment File Paths
01:18
46
Schema Validation
03:00
47
Using the Config Service
02:20
48
Custom Configuration Files
04:33
49
Configuration Namespaces and Partial Registration
04:58
50
Asynchronously Configure Dynamic Modules
03:09
51
Introducing More Building Blocks
02:21
52
Understanding Binding Techniques
06:20
53
Catch Exceptions with Filters
07:25
54
Protect Routes with Guards
07:40
55
Using Metadata to Build Generic Guards or Interceptors
10:06
56
Add Pointcuts with Interceptors
07:02
57
Handling Timeouts with Interceptors
04:03
58
Creating Custom Pipes
05:49
59
Bonus: Add Request Logging with Middleware
06:16
60
Bonus: Create Custom Param Decorators
03:50
61
Introducing the Swagger Module
03:45
62
Enabling CLI Plugin
03:43
63
Decorating Model Properties
01:21
64
Adding Example Responses
02:04
65
Using Tags to Group Resources
01:05
66
Introduction to Jest
01:51
67
Getting Started with Test Suites
08:45
68
Adding Unit Tests
07:44
69
Diving Into e2e Tests
06:09
70
Creating our First e2e Test
06:59
71
Implementing e2e Test Logic
04:12
72
Before we Get Started
00:44
73
Prerequisite: Install Docker
02:32
74
Running MongoDB
03:00
75
Introducing the Mongoose Module
02:46
76
Creating a Mongoose Model
04:52
77
Using a Mongoose Model to Access MongoDB
08:42
78
Adding Pagination
04:57
79
Use Transactions
06:04
80
Adding Indexes to Schemas
01:18
Unlock unlimited learning

Get instant access to all 79 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What prerequisites are required before starting the course?
Before starting the course, you should install Insomnia and Docker as they are used throughout the lessons. These tools are crucial for testing API endpoints and managing database containers, respectively. Familiarity with JavaScript and TypeScript is also recommended, as NestJS is built on these languages.
What project will I build during the course?
You will build a real REST API using NestJS. This project includes planning routes, handling various types of requests, and connecting to a database. As you progress, each feature you add introduces a new concept or tool, allowing you to gain practical experience in building applications with NestJS.
Who is the target audience for this course?
This course is designed for developers who want to understand the fundamental building blocks of NestJS. It's ideal for those interested in learning how to write clean, testable, and scalable code for server-side applications. It also suits developers transitioning from other Node.js frameworks to NestJS.
How does the depth of this course compare to similar courses?
The course provides a practical introduction to NestJS, focusing on core concepts such as modules, controllers, and services. While it covers handling both SQL and NoSQL databases and various design patterns, it may not delve into advanced NestJS topics or enterprise-level application concerns.
What specific tools or platforms does the course cover?
The course covers several tools and platforms, including the NestJS CLI for application generation and development, Insomnia for API testing, and Docker for managing database containers. It also introduces TypeORM for database interaction, focusing on PostgreSQL as the database choice.
What topics are not covered in the course?
The course does not cover advanced topics such as microservices, GraphQL integration, or real-time communication with WebSockets. It focuses primarily on REST APIs and does not delve into frontend development or advanced database optimizations.
What is the expected time commitment to complete the course?
The course contains 80 video lessons with a total runtime of approximately five hours and 17 minutes. Given the hands-on nature of the course, additional time may be required for coding exercises and project development, depending on your familiarity with the material.