Course Structure
Module 1: Setup and Fundamentals (6 sessions)
- Setting Up The Development Environment
- Installing NestJS CLI
- Creating Our First NestJS Application
- Boilerplate Code In NestJS
- What are Modules?
- How NestJS Bootstraps (main.ts)
Module 2: Building RESTful Services (7 sessions)
- Understanding the app Module
- Creating a New users Module
- What is a REST API
- Setting Up Postman and httpYac
- Creating Controllers
- Working With Routing Decorators
- Params, Query and Body
Module 3: Advanced Request Handling (8 sessions)
- Update To Optional Parameters
- Additional Request Components
- Providers in NestJS
- What are Pipes?
- Validation and Transformation Needs
- Validating Params with Built-in Pipes
- Validating Query Params
- Introduction to DTO
Module 4: Deep Dive into DTOs and Data Handling (6 sessions)
- Creating Our First DTO
- Connecting DTO to Route Method
- Global Pipes and Avoiding Malicious Requests
- Converting to an Instance of DTO
- Using DTOs with Params
- Using Mapped Types To Avoid Code Duplication
Module 5: Dependency Injection and Services (7 sessions)
- Introduction To Inversion Of Control
- Dependency Injection In NestJS
- Create a users Service
- findall Users Method
- findOneById Users Method
- Practice and Solution: Create a Posts Module
- Types Of Dependencies
Module 6: Documentation and Testing (6 sessions)
- Documentation With NestJS
- Open API Specification
- Enabling Swagger in NestJS
- Adding Configuration Methods to Swagger
- Introduction To Testing
- What Is End To End Testing
Specifications
Format: 1:1 & Group
Recommended Sessions: 40
Level: Intermediate