+ 3
Implementing MySQL with Node.JS/Passport.JS
Hello everyone, I am working on a mini-project to understand code better, and I am hitting a brick wall. I did some search, but it seems as if I am still not understanding. I am stuck trying to securely handle a user's account to be transferred to a MySQL database or any recommended database after being passed through passport.js. Please note that Node.js can also be another option if need be. I will say that I use "ejs" files and "js" files. Thank you in advance!
1 Resposta
+ 1
So I researched further and found the following link below that would explain how to connect MySQL to Express and Passport Authentication and what each method does.
Build a Login System in Node.js with Express,Passport.js and MySQL
https://jodiss-tri.medium.com/build-a-login-system-in-node-js-using-passport-js-and-mysql-52667cf3cc40
Github Code: jodtribhu/Login_system
https://github.com/jodtribhu/Login_system