Next.Js 13: Build A Full-Stack Authentication With Nextauth
Published 9/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 670.41 MB | Duration: 1h 25m
Published 9/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 670.41 MB | Duration: 1h 25m
Build a modern authentication system in Next.js 13 from scratch using NextAuth, JWT, PostgreSQL, Prisma and Node.js
What you'll learn
Setup Full-Stack Authentication by using the latest technologies
Implement NextAuth with JWT from scratch or add it to an existing project
Setup Prisma ORM with NextJS
Connect to a Postgresql database and create User models
Create Login and Register API endpoints in NextJS
Create custom Login and Register pages for NextAuth
Protect pages from unauthorized access
Protect API endpoints and data from unauthorized access
Requirements
Basic understanding of React
Basic understanding of JavaScript
Description
In this concise yet comprehensive course, you will be guided through the process of creating a modern authentication solution using NextJS 13, NextAuth, JWT, Postgresql, Prisma, and NodeJS.Designed for developers seeking a practical approach, this course is your gateway to mastering secure user management in NextJS projects. Perfect for newcomers to the NextAuth library (which is rapidly becoming the go-to authentication tool in modern web development) or those starting fresh, you'll unlock the secrets to building robust user experiences when it comes to login and registration.Immerse yourself in hands-on learning as you learn setting up Full-Stack Authentication using cutting-edge technologies. Learn to implement NextAuth with JWT, create API endpoints using NodeJS inside NextJS, and design personalized pages for seamless user journeys. Discover how to safeguard pages and secure API endpoints and data, ensuring your application is rock-solid.A basic understanding of React and JavaScript is all you need to jump in. By enrolling in this course, you'll have direct access to me as your instructor, allowing you to receive personalized feedback and guidance on your journey to mastering authentication in NextJS. I'll be there to support you every step of the way, ensuring you have the tools and knowledge needed to succeed.
Overview
Section 1: Introduction
Lecture 1 Introduction to the course
Lecture 2 Branching strategy
Lecture 3 Everyting you need
Section 2: Getting started: Project setup
Lecture 4 Setting up the Next.js 13 project
Lecture 5 Installing Prisma ORM
Lecture 6 Connecting to a Postgresql database
Lecture 7 Creating the User model in the database
Lecture 8 Installing the Prisma client
Lecture 9 Setting up NextAuth
Section 3: Creating the authentication system
Lecture 10 Creating a custom login page
Lecture 11 Creating a custom registration page
Lecture 12 Creating the registration API endpoint
Lecture 13 Creating the login API endpoint
Lecture 14 Connecting the registration form
Lecture 15 Connecting the login form
Lecture 16 Protecting the home page
Lecture 17 Protecting API endpoints
Anyone who needs to implement authentication properly in their NextJS project,Developers who are new to the NextAuth library,Developers who are starting a new project (Authentication is a great starting point)