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

freeCodeCamp

NestJS Course for Beginners - Build Server-Side Applications

via freeCodeCamp

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build scalable backend applications with NestJS, one of the most popular Node.js frameworks, in this comprehensive 1 hour and 28 minute course. Harness NestJS's modular architecture, TypeScript support, and built-in tools to create clean, testable code through hands-on development of DevMatch, a dating app for developers. Start by understanding why NestJS is a powerful choice for server-side development, then dive into practical setup and configuration. Master the fundamentals of modules and decorators before building complete CRUD functionality through controllers that handle GET requests for all profiles and single profiles, POST requests for creating new profiles, PUT requests for updates, and DELETE operations. Implement services to manage data operations including retrieving all profiles, fetching single profiles, creating new profiles, updating existing ones, and removing profiles from the system. Explore advanced concepts like exception filters for proper error handling and bubbling, learn to handle exceptions directly in controllers, and implement pipes for both data transformation and validation. Conclude with an introduction to guards for authentication and authorization, gaining practical experience with NestJS's enterprise-grade features for building robust, maintainable server-side applications.

Syllabus

- 0:00:00 Why NestJS?
- 0:03:40 DevMatch - A Dating App For Developers
- 0:05:08 Setup
- 0:07:21 Modules & Decorators
- 0:10:18 Controller GET All Profiles
- 0:15:00 Controller GET Single Profile
- 0:17:24 Controller POST
- 0:23:35 Controller PUT
- 0:26:19 Controller DELETE
- 0:29:37 Service Get All Profiles
- 0:32:59 Service Get Single Profile
- 0:36:49 Service Create Profile
- 0:46:01 Service Update Profile
- 0:51:20 Service Remove Profile
- 0:54:47 Exception Filters - Bubbling Up
- 1:02:34 Exception Filters - Challenges
- 1:07:00 Handling exceptions in the controller
- 1:10:09 Pipes Transformation
- 1:14:58 Pipes Validation
- 1:20:41 Intro To Guards
- 1:24:14 Outro

Taught by

freeCodeCamp.org

Reviews

Start your review of NestJS Course for Beginners - Build Server-Side Applications

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.