Login and Register Tutorial with PassportJs, MySql, and NextJs/React

preview_player
Показать описание
Creating a website with Next Js along with an Express and MySQL server to register, login and atheneite users.

Downloads:

Code:

⏱️ Timestamps:
0:00 - Introduction
0:22 - Setup
2:28 - Basic Register Page
4:45 - Basic Login Page
5:50 - NavBar
9:29 - Server File
13:30 - MySQL Install
15:28 - MySQL Setup
18:37 - Register Setup
22:37 - Passport Setup
28:20 - Login Setup
32:12 - Profile Page Finish
Рекомендации по теме
Комментарии
Автор

many thanks bro… its really helpful for me

zeinplayy
Автор

I have two questions,
1) Why we are not using express instead of next server?
2) If we use express can we deploy of vercel or we have to deploy on cpanne easily?

thanks

ahsanabrar
Автор

for the username validation is it not better just to do if result.length{error username already taken} instead of adding the else or having it be > 0 ?

jonathananderson
Автор

Bro If you were using the express server only, why have you gave nextjs, I wanted to know how to apply local strategy in middleware in nextjs

subhamdas
Автор

awsome come back again pls with another video !!!

jfddiys
Автор

how to log out please make video or but here a link thanks

MunasarAbuukar
Автор

Hello, I got a question, what extensions do you use on vscode? Your coding seems so automated.

nunoepteixeira
Автор

Hi,
I have a question because I get getUser is not function where is it instantiated?

brankoalvarez
Автор

how come you didnt use the built-in nextjs api for the backend

benzz
Автор

hi, can i use mysql Xampp instead of MySQL Workbench ?

AlirezaKhaksar-sszr
Автор

Hi, thanks for this tutorial.
Just wanted to know is there a logout url for the same?

KamakshyaNanda
Автор

I have an error that tells me that all the names that I put do not exist in the database? And is it spelled exactly the same? can you upload it to git?

brankoalvarez
Автор

hello, could you make video for forgot password and username?? really help with your videos

HohoYt-kzfd
Автор

Hii do you make any community group like discord or in telegram so we can share knowledge??

DamnFree