Packt
Mastering NestJS
Packt

Mastering NestJS

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

15 hours to complete
3 weeks at 5 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

15 hours to complete
3 weeks at 5 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Build modular, scalable NestJS applications with effective routing and controllers.

  • Implement robust data validation and transformation using built-in and custom pipes.

  • Secure applications with guards, middleware, and role-based access control techniques.

  • Integrate NestJS with MySQL and MongoDB for efficient data persistence and CRUD operations.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

July 2025

Assessments

13 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 12 modules in this course

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.

What's included

3 videos1 reading

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.

What's included

14 videos1 assignment1 plugin

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.

What's included

20 videos1 assignment1 plugin

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.

What's included

13 videos1 assignment1 plugin

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.

What's included

13 videos1 assignment1 plugin

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.

What's included

9 videos1 assignment1 plugin

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.

What's included

6 videos1 assignment1 plugin

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.

What's included

9 videos1 assignment1 plugin

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.

What's included

5 videos1 assignment1 plugin

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.

What's included

22 videos1 assignment1 plugin

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.

What's included

7 videos1 assignment1 plugin

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.

What's included

6 videos3 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
752 Courses156,241 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions