Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Hands-On Introduction to Backend Development with NestJS
Rating: 4.5 out of 5(53 ratings)
3,240 students

Hands-On Introduction to Backend Development with NestJS

Build a RESTful API from scratch using NestJS. Learn modules, controllers, services, validation, middleware, guards...
Created byLukasz Kallas
Last updated 5/2026
English

What you'll learn

  • How to build a RESTful API with full CRUD (Create, Read, Update, Delete)
  • How to generate and structure modules, controllers, and services
  • How to use DTOs and validation with class-validator and pipes
  • How to use middleware to log requests
  • How to protect routes using guards (e.g., with an API key)

Course content

3 sections13 lectures2h 0m total length
  • Welcome!1:58
  • Join Our Community0:04
  • What is NestJS3:00
  • Setting up our Environment11:11

Requirements

  • Basic knowledge of JavaScript and Node.js
  • Familiarity with Express.js is helpful but not required
  • A working installation of Node.js and a code editor (like VS Code)

Description

Welcome to Hands-On Introduction to Backend Development with NestJS — a practical and beginner-friendly course where you’ll build a real RESTful API from scratch using one of the most powerful Node.js frameworks out there.

I’m Lucas, a tech lead working in an international team. I’ve designed this course to give you a strong foundation in NestJS — without slides, without filler, just clean, focused, hands-on coding.

In this short course, we’ll start by setting up a NestJS project and walk step by step through creating modules, controllers, and services. You’ll build a real CRUD API with in-memory data, handle parameters and query strings, and learn how to structure your application using DTOs and validation.

From there, we’ll move into more advanced features like using global validation pipes, creating custom middleware to log requests, and protecting routes with guards (such as a basic API key check). We’ll also cover how to use .env files to manage configuration, leverage the built-in NestJS logger, and run the tests that are automatically created for you with the CLI.

So no matter if you're coming from Express.js or starting fresh, this course will give you the confidence and skills to move forward with NestJS. Let’s get started!

Who this course is for:

  • Developers who are new to NestJS and want to learn by doing
  • Backend or full-stack devs coming from Express or other frameworks
  • JavaScript learners looking to build structured, maintainable APIs
  • Anyone curious about scalable backend architecture in Node.js