NestJS for Beginners
A comprehensive introductory course to building robust and scalable server-side applications with NestJS.
...
Share
Introduction to NestJS and Setting Up Your Development Environment
Unit 1: Welcome to NestJS
Backend Dev Landscape
NestJS: What's the Buzz?
NestJS Key Concepts
Why Choose NestJS?
NestJS vs Express
Unit 2: Setting Up Your Environment
Install Node.js
Choose Your Code Editor
Install NestJS CLI
First NestJS Project
Project Structure Deep Dive
Unit 3: NestJS Core Concepts
Demystifying Modules
Controller Magic
Providers: The Workhorses
Middleware Explained
Dependency Injection
Unit 4: Using the NestJS CLI
Generate a Module
Controller Creation
Service Generation
Resource Generation
CLI Configuration
Building RESTful APIs with NestJS
Unit 1: Project Structure and Modules
NestJS Project Anatomy
Modules: The Big Picture
Creating Custom Modules
Module Exports and Imports
Global Modules
Unit 2: Controllers: Handling Requests
Controller Fundamentals
Basic Route Handling
Dynamic Route Parameters
Query Parameters
Request Body Handling
Unit 3: Providers: Business Logic
Provider Power!
Creating a Basic Provider
Custom Providers
Dependency Scopes
Async Providers
Data Management and Validation
Unit 1: Connecting to Databases with TypeORM
TypeORM: An Intro
Setting Up TypeORM
Defining Entities
Let's Run a Migration
Seed the Database
Unit 2: CRUD Operations with TypeORM Repositories
Repository Pattern
Creating Data
Reading Data
Updating Data
Deleting Data
Unit 3: Data Validation with Pipes and DTOs
DTOs: An Intro
Creating DTOs
Built-In Validation Pipes
Custom Validation Pipes
Transforming Data
Unit 4: Interceptors
Intro to Interceptors
Timeout Interceptor
Transforming Responses
Exception Interceptor
Caching Interceptor
Security, Testing, and Deployment
Unit 1: Securing NestJS APIs with Authentication and Authorization
Intro to Security
JWT Setup
Protecting Endpoints
Refresh Tokens
Other Security Tips
Unit 2: Exception Handling and Error Management
Intro to Exceptions
Custom Exceptions
HTTP Exceptions
Global Filters
Async Error Handling
Unit 3: Testing NestJS Applications
Testing Strategies
Writing Unit Tests
Integration Tests
E2E Tests
Test Coverage
Unit 4: Deployment and Caching
Docker Intro
Docker Compose
Deploy to Cloud
Caching Strategies
Cache Invalidation