Login System in Node.js Express with MySQL

preview_player
Показать описание

TIMESTAMPS
00:00 Intro
00:46 MySQL Database Structure
01:09 Install Node Express Application
02:22 Make MySQL Database Connection with Node Express Application
05:49 Configure Session
08:04 Create Route for Load Login Page
08:30 Make HTML Login Form
11:20 Validate Login Form Data
10:24 Check Output for Check Inline Editing of First Name Column Data
16:34 Create Route for Logout
17:37 Start Node JS Server and Check Output in the browser

ABOUT OUR CHANNEL
Check out our channel here:
Don’t forget to subscribe!

FIND SOURCE CODE AT

GET IN TOUCH

FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
Рекомендации по теме
Комментарии
Автор

So how will a new user create an account? There is no route for creating an account.

floramerano
Автор

How to prevent user to not directly access home page while type in url until he logged in?

itsumair
Автор

Was hoping for an explanation of how all this works, not just watching someone typing.

ubist
Автор

why does mine returns error


TypeError:
19| <div
20| <div class="col-md-6">
>> 21| <% if(session.user_id) { %>
22|
23| <h1>Hi User, Welcome</h1>
24|

Cannot read properties of undefined (reading 'user_id')
at eval (eval at compile (C:\wamp64\www\node\login\node_modules\ejs\lib\ejs.js:633:12), <anonymous>:11:19)
at returnedFn
at tryHandleCache
at exports.renderFile [as engine]
at View.render
at tryRender
at Function.render
at ServerResponse.render
at
at Layer.handle [as handle_request]

JamesBandOfficial
Автор

The music is too loud for the tutorial ☹️

krisly