Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Mastering NestJS

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Mastering NestJS empowers you to build robust and scalable server-side applications using this progressive Node.js framework. You'll gain hands-on expertise in core NestJS concepts such as controllers, middleware, guards, interceptors, and pipes. By the end, you will confidently create full-featured backend apps integrated with databases like MySQL and MongoDB. The course begins by introducing NestJS fundamentals, including project setup, modular architecture, and HTTP request handling. It then dives deep into data validation with pipes, request lifecycle control using middleware and guards, and advanced features like interceptors. Practical sections guide you through creating a full-stack MyStore application, implementing authentication, session management, and database CRUD operations with TypeORM and Mongoose. This comprehensive journey covers both foundational concepts and advanced patterns, preparing you to develop real-world applications with NestJS. Each module builds progressively, reinforcing concepts with hands-on assignments and projects. Ideal for backend developers and Node.js programmers aiming to master NestJS, this course requires basic knowledge of JavaScript and Node.js. It is designed for intermediate learners looking to deepen backend development skills and build scalable enterprise applications.

Syllabus

  • Introduction
    • In this module, we will introduce you to NestJS, a powerful framework for building scalable Node.js applications. You'll learn how to set up your first project and navigate the essential project structure. This foundational knowledge sets the stage for mastering advanced NestJS concepts.
  • NestJS Fundamentals
    • In this module, we will dive deep into NestJS controllers, the backbone of routing and request handling. You will learn to handle diverse HTTP methods, manage headers, work with parameters and queries, and control HTTP responses for building robust APIs.
  • Working with Pipes
    • In this module, we will explore NestJS pipes, focusing on data transformation and validation. You'll master built-in pipes and develop custom pipes tailored to your application's requirements. Additionally, you'll learn how to apply pipes globally to streamline data handling.
  • NestJS Middleware
    • In this module, we will focus on NestJS middleware, a critical piece for pre-processing requests and modifying responses. You will create, configure, and strategically apply middleware to optimize request handling in your application.
  • NestJS Guards
    • In this module, we will introduce you to guards, NestJS’s way to protect routes and resources. You will learn to build and combine guards to implement sophisticated access control, ensuring your application remains secure and compliant.
  • NestJS Interceptors
    • In this module, we will explore NestJS interceptors, powerful tools to manipulate data flow and enhance request-response handling. You'll learn to create interceptors for tasks such as data transformation, header modification, and exception mapping.
  • NestJS With MySQL
    • In this module, we will integrate MySQL with NestJS using TypeORM. You will learn how to connect to databases, create entities, and implement full CRUD functionalities, enabling robust data management for your applications.
  • Practical Application - Creating a MyStore App
    • In this module, we will build a practical MyStore app from scratch. You will apply templating techniques, create dynamic interfaces, and configure routes to manage products effectively, reinforcing your understanding through hands-on project development.
  • Attaching Templates to MySQL
    • In this module, we will connect your MyStore app’s templates to the MySQL database. You will learn to seamlessly add, update, and delete product data, enabling real-time dynamic content rendering driven by your database.
  • MyStore - Authentication/Session Cookie
    • In this module, we will cover user authentication and session management for the MyStore app. You’ll build secure sign-up and login functionalities, manage sessions with cookies, and implement JWT-based authorization for a safe user experience.
  • NestJS With MongoDB & Mongoose
    • In this module, we will integrate MongoDB with NestJS through Mongoose. You will learn to create schemas, register them, and manage documents with CRUD operations, enabling flexible NoSQL data management within your NestJS projects.
  • MyStore With MongoDB & Mongoose
    • In this module, we will extend the MyStore app by connecting it to MongoDB using Mongoose. You’ll design schemas for users and products and implement session storage with MongoDB to maintain stateful user experiences.

Taught by

Packt - Course Instructors

Reviews

Start your review of Mastering NestJS

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.