Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build Full-Stack App with Nestjs, Nextjs and Postgres
23 students

Build Full-Stack App with Nestjs, Nextjs and Postgres

Build secure, scalable, and feature-rich full-stack applications using NestJS, Next.js, Postgres, and TypeORM
Created byHaider Malik
Last updated 1/2026
English

What you'll learn

  • Architect and Build Secure Full-Stack Applications: Confidently set up and integrate a modern tech stack, using NestJS for the backend API and Next.js for the d
  • Master Advanced Authentication and Security: Implement three distinct authentication strategies: secure Cookie-based JWT authentication, Google and GitHub Socia
  • Perform Robust Data Management with Prisma: Utilize the Prisma ORM for type-safe interaction with a PostgreSQL database running in a Dockerized environment, cov
  • Develop Feature-Rich Modules: Build a complete Pomodoro Session tracking module that handles real-time user session management and persistent data storage as a
  • Apply Frontend Best Practices: Integrate and utilize professional frontend tools like React Hook Form with Zod validation and Zustand for efficient global state

Course content

7 sections • 122 lectures • 7h 15m total length
  • Source Code0:01
  • What we are going to build1:17
  • Backend Module Structure1:33
  • Setup Nestjs App1:29
  • Run the App2:03
  • Auth Module1:51
  • Create Module, Controller and Service1:39
  • Creating Register Route in Auth Controller6:58
  • Using Data Transfer Object create user dto8:45
  • Encrypt User Password with bcrypt3:02
  • Install Database Dependencies3:11
  • Setup TypeORM4:37
  • Setup Config Module1:54
  • Install Postgres using Docker3:45
  • Fixed Volume Issue1:33
  • Fix Config Module issue1:36
  • Create Entity8:35
  • Create User2:15
  • How JSON Web Token Works2:35
  • JWT Auth Passport Final8:02
  • Login User6:17
  • Compare User Password1:35
  • Restrict Acess to Private Profile Route10:12

Requirements

  • Intermediate JavaScript / TypeScript Knowledge: You must be comfortable with core JavaScript concepts, including ES6+ features (e.g., promises, async/await, array methods), and have a basic understanding of TypeScript syntax and types.
  • Fundamental React Experience: Basic familiarity with React is necessary, including functional components, props, state, and hooks (like useState and useEffect). We build on this foundation using Next.js.
  • Command Line Interface (CLI) Comfort: You should know how to navigate your file system, install packages using npm or yarn, and execute terminal commands.
  • Development Environment: You will need a computer (Windows, macOS, or Linux) capable of running a code editor (like VS Code), Node.js, and Docker (which we use to run the PostgreSQL database).

Description

This comprehensive course will guide you through building a modern, feature-rich full-stack application from the ground up. You will learn how to seamlessly integrate industry-leading technologies: NestJS for a powerful backend, Next.js for a dynamic frontend, and Prisma for elegant database management.


Build Secure, Scalable Full-Stack Applications with NestJS, Next.js, and Prisma


This course is designed to take you from foundational setup to deploying a complex application, teaching you in-demand skills for today's development market.


  • Implement secure and modern Cookie-based Authentication using JWTs.

  • Integrate third-party Social Authentication using Google and GitHub OAuth.

  • Develop robust Two-Factor Authentication (2FA) for enhanced user security.

  • Architect and build both the frontend and backend using Next.js and NestJS.

  • Manage your database with the modern, type-safe Prisma ORM.


What You Will Cover in this Course


You'll create an application that goes beyond basic CRUD, featuring advanced functionality like user registration, login, profile management, and a dedicated Pomodoro Session Tracker.


We start by setting up the entire architecture:

  • Backend Mastery with NestJS & TypeORM/Prisma: You'll build the API endpoints, learn to handle DTOs, encrypt passwords with bcrypt, set up JWT Auth, and connect to a PostgreSQL database using Docker.

  • Frontend Development with Next.js: You'll set up a Next.js application, implement React Hook Form with Zod validation, handle form submissions, and create reusable components like a dynamic Navbar.

  • Advanced Authentication: Deep-dive into three critical authentication methods—Cookie Auth, Social Login (Google & GitHub), and 2FA—to ensure your applications are secure.

  • State Management and UI: Implement Zustand for efficient global state management and build a responsive Navbar and Client Wrapper Component.

  • Feature Development: Construct a complete Pomodoro Session Module, including starting, ending, and tracking user sessions.


Why Should You Enroll in This Course?


By the end of this course, you won't just know how to use these technologies; you'll have built a fully functional, production-ready application that you can proudly showcase in your portfolio.


You will walk away with the confidence to apply these modern full-stack skills to any personal or professional project. This is the most practical and up-to-date course that combines these powerful technologies into one cohesive learning experience.


You will master the entire development workflow, from database setup to frontend responsiveness and essential security features.


I'm happy to help you refine this further or draft a similar description for another one of your courses!

Who this course is for:

  • Mid-Level Frontend Developers who want to expand their skills to the backend, master database integration, and become true full-stack engineers.
  • Node.js Developers experienced with Express or other frameworks who want to migrate to a modern, scalable, and fully-featured backend framework like NestJS.
  • React Developers who are ready to build the API for their own applications using a modern stack (Next.js, NestJS, Prisma).
  • Anyone looking to build a portfolio-ready application that demonstrates proficiency in advanced features like Two-Factor Authentication (2FA) and modern data modeling with Prisma.
  • Developers who are tired of tutorials that skip over crucial security features like Cookie-based Authentication and are ready to learn industry best practices for application security.