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
Link: π Getting Started
-
Introduction to NestJS
-
Installing the NestJS CLI (command-line interface)
-
Generating our first NestJS Application
-
Whatβs inside a NestJS Application
-
What we'll be building in this course
-
Beginning your NestJS Journey
Link: π Creating a REST API application
-
Prerequisite: Install Insomnia
-
Running NestJS in Development Mode
-
Creating a Basic Controller
-
Use Route Parameters
-
Handling Request Body / Payload
-
Response Status Codes
-
Handling Update and Delete Requests
-
Implement Pagination with Query Parameters
-
Creating a Basic Service
-
Send User-Friendly Error Messages
-
Encompass Business-Domain in Modules
-
Introduction to Data Transfer Objects
-
Validate Input Data with Data Transfer Objects
-
Handling Malicious Request Data
-
Auto-transform Payloads to DTO instances
Link: π Add PostgreSQL with TypeORM
-
Before we Get Started
-
Prerequisite: Install Docker
-
Running PostgreSQL
-
Introducing the TypeORM Module
-
Creating a TypeORM Entity
-
Use Repository to Access Database
-
Create a Relation between two Entities
-
Retrieve Entities with their Relations
-
Using Cascading Inserts and Updates
-
Adding Pagination
-
Use Transactions
-
Adding Indexes to Entities
-
Setting up Migrations
Link: π Dependency Injection
-
Understand Dependency Injection
-
Control NestJS Module Encapsulation
-
Diving Into Custom Providers
-
Value based Providers
-
Non-class-based Provider Tokens
-
Class Providers
-
Factory Providers
-
Leverage Async Providers
-
Create a Dynamic Module
-
Control Providers Scope
-
Diving Deeper Into Request-Scoped Providers
Link: π Application Configuration
-
Introducing the Config Module
-
Custom Environment File Paths
-
Schema Validation
-
Using the Config Service
-
Custom Configuration Files
-
Configuration Namespaces and Partial Registration
-
Asynchronously Configure Dynamic Modules
Link: π Other Building Blocks by Example
-
Introducing More Building Blocks
-
Understanding Binding Techniques
-
Catch Exceptions with Filters
-
Protect Routes with Guards
-
Using Metadata to Build Generic Guards or Interceptors
-
Add Pointcuts with Interceptors
-
Handling Timeouts with Interceptors
-
Creating Custom Pipes
-
Bonus: Add Request Logging with Middleware
-
Bonus: Create Custom Param Decorators
Link: π Generating OpenAPI Specification
-
Introducing the Swagger Module
-
Enabling CLI Plugin
-
Decorating Model Properties
-
Adding Example Responses
-
Using Tags to Group Resources
Link: π Testing
-
Introduction to Jest
-
Getting Started with Test Suites
-
Adding Unit Tests
-
Diving Into e2e Tests
-
Creating our First e2e Test
-
Implementing e2e Test Logic
Link: π Add MongoDB with Mongoose
-
Before we Get Started
-
Prerequisite: Install Docker
-
Running MongoDB
-
Introducing the Mongoose Module
-
Creating a Mongoose Model
-
Using a Mongoose Model to Access MongoDB
-
Adding Pagination
-
Use Transactions
-
Adding Indexes to Schemas