Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NestJS Complete Course: PostgreSQL, Docker & Angular
Hot & New
New
Rating: 4.3 out of 5(3 ratings)
16 students

NestJS Complete Course: PostgreSQL, Docker & Angular

Learn NestJS from scratch with TypeScript, REST APIs, JWT authentication, Redis, WebSockets, testing and deployment.
Last updated 10/2026
English

What you'll learn

  • Build a NestJS backend with TypeScript using modules, controllers, services, dependency injection and configurable providers.
  • Control request handling with middleware, guards, pipes, interceptors and exception filters, and manage application startup and shutdown.
  • Configure environment settings with Zod and persist data in PostgreSQL on Neon using Drizzle ORM, schemas, relationships and migrations.
  • Build REST APIs with validation, pagination, filtering, searching, sorting, Swagger documentation and API versioning.
  • Implement JWT authentication, password hashing, refresh-token rotation, logout, private tasks and workspace membership permissions.
  • Process background jobs with BullMQ and Redis, schedule recurring tasks and deliver live notifications using Socket IO.
  • Write service unit tests with Jest, package the API with Docker and deploy it to Render.
  • Build an Angular frontend with standalone components, signals, forms and HttpClient to sign in, display tasks and create new tasks.

Course content

13 sections • 95 lectures • 14h 28m total length
  • Section Introduction0:41

    See what this section covers: NestJS fundamentals, project setup, application structure and the types of applications you can build.

  • Important [How to get started]2:43
  • NestJS vs Express vs Fastify3:29

    Compare NestJS, Express and Fastify.

  • Creating and Running Your First NestJS Application5:52

    Install the Nest CLI, create your first NestJS project and start the development server.

  • How NestJS Works: Project Structure and main.ts6:07

    Explore the starter files and follow the bootstrap process in main.ts, from creating the Nest application to listening for incoming requests.

  • NestJS Development and Production Commands2:49

    Use the project’s npm scripts to run NestJS during development, compile the application and start the production build.

  • What You Can Build with NestJS3:05

    Explore NestJS application types, including REST APIs, GraphQL, WebSockets, microservices, background workers and standalone applications.

Requirements

  • No previous NestJS or Angular experience is required.
  • Basic JavaScript knowledge and familiarity with TypeScript classes, functions and imports.
  • A computer with internet access, a code editor and permission to install Node.js and development tools.
  • Basic familiarity with npm and terminal commands. No previous NestJS experience is required.

Description

Learn NestJS 12 from scratch by building a project-management backend with NodeJS, TypeScript and PostgreSQL, then connect it to an Angular frontend.

This complete beginner course explains concepts step by step as you use them. You’ll understand how NestJS organizes an application, how dependency injection works and what happens when a request reaches your API.

Start with a simple in-memory Tasks API, then add database storage, authentication, workspaces, projects, background jobs and real-time notifications. Finally, test your service, package the backend with Docker and deploy it to Render.

What you’ll learn:

• NestJS fundamentals: modules, controllers, services, decorators and dependency injection.
• Custom providers, provider tokens, global modules, provider scopes and circular dependencies.
• The request lifecycle: middleware, guards, pipes, interceptors and exception filters.
• Application lifecycle hooks, resource cleanup and graceful shutdown.
• Environment configuration, Zod validation and configurable dynamic modules.
• PostgreSQL on Neon with Drizzle ORM, database schemas, relationships and migrations.
• REST API development with CRUD operations, pagination, filtering, sorting and searching.
• API versioning and Swagger documentation, including response DTOs that keep controllers readable.
• Registration, login, password hashing and JWT authentication.
• Refresh-token rotation, logout and ownership checks that protect each account’s tasks.
• Workspaces, team membership, membership permissions and basic projects.
• Application events, Redis on Upstash, BullMQ background jobs, retries and scheduled tasks.
• Real-time notifications using authenticated WebSocket gateways, SocketIO and account-specific rooms.
• Service unit testing with Jest and mocked dependencies.
• Docker images, containers and backend deployment to Render.
• Angular fundamentals: standalone components, templates, signals and application configuration.
• Angular forms, validation, built-in control flow and HTTP requests with HttpClient.
• Connecting Angular to your NestJS API to log in, display private tasks and create new tasks.

The lessons start with practical problems and introduce the NestJS features that solve them. You’ll write code as you learn, with demonstrations that show how the pieces work together.

Source code is included so you can follow along, review each section and continue experimenting.

Who is this course for?

JavaScript and TypeScript developers learning NestJS, frontend developers moving into backend development, and NodeJS developers who want a structured approach to building APIs.

Basic JavaScript, TypeScript and npm knowledge is recommended. No previous NestJS or Angular experience is required.

By the end, you’ll have built and deployed a NestJS project-management API, connected an Angular frontend and gained a practical understanding of backend application development.

Who this course is for:

  • JavaScript and TypeScript developers who want to learn NestJS from scratch and build backend applications.
  • Frontend developers who want to build REST APIs with PostgreSQL, authentication and user permissions.
  • NodeJS and Express developers who want to understand NestJS modules, dependency injection and application architecture.
  • Developers who learn by building and want step-by-step guidance through a project-management API, from setup to deployment.
  • Backend developers who want an introduction to Angular and to connect a frontend to their NestJS API.