This is a video of login, register Nodejs project from scratch for beginner, that using Node.JS , MySQL and AJAX to call passport middleware (design with Bootstrap 4 framework)
Backend: Express, MySQL, and passportjs (middleware).
Frontend: EJS view engine, Bootstrap 4, AJAX.
In this video, I will be covering absolutely everything you need to know about user login and authentication in the most concise and simple way.
We will be using Express for our server backend and Passport to help us manage the logged in state of users.
Before creating a new user, we validate user info with Bootstrap 4 validation, then use AJAX to call server API to create a new user.
We will also be sure to properly encrypt and hash all user passwords so that our application is completely secure.
By the end of this video, you will have built a fully functional login/register system that you can use in any of your future projects.
📚 Materials/References:
Full project (final code) at Github: https://github.com/haryphamdev/login-...
Quick start a NodeJS project: https://github.com/haryphamdev/quickS...
🧠 Concepts Covered:
Setting up a server with Node.js and Express
Design Login/Register form (frontend with Bootstrap 4)
Validate input fields with Bootstrap 4 validation (before creating a user/login)
Connect Node.js with MySQL.
Setting up AJAX to use with Passport middleware.
Check if a user's email exists or not?
How to encrypt user passwords
Setting up Passport with Node.js and Express
Restricting access to routes to only logged in users
🌎 Find Me Here:
Facebook Fanpage: / haryphamdev
Patreon: / haryphamdev
Twitter: / haryphamdev
GitHub: https://github.com/haryphamdev
PLEASE CLICK THE 🔔BELL TO GET UPDATES AND DON'T FORGET TO ► SUBSCRIBE! ► https://bit.ly/subscribe-haryphamdev
#PassportLogin #passportjsAJAX #NodejsLoginRegisterAJAX
Смотрите видео Node.js Login Register with Mysql, Passport and AJAX | Full code project онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь HaryPhamDev 30 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,617 раз и оно понравилось 56 людям.