u/Bad_Manateein r/node • Recommends
NodeJS / MySQL Create Account API - Salt/Hash Passwords And Generate User Tokens Tutorial
16K subscribers • 1 video on Hallway
Intermediate. Assumes working knowledge.
1.8K views5 years ago1 recommendation
Web developmentSecurityNode.js, Deno and BunCryptographyMySQL
David Domminney Fowler demonstrates how to build a user registration API with password hashing and token generation using Node.js and MySQL.
NodeJS & MySQL Account Sign Up API - Install Express - Set Up Tables - Salt/Hash Passwords And Generate User Tokens Tutorial. I'm showing a friend some basic NodeJS stuff so rather than just give it to him I thought I'd put it on my channel. Usually it's more music & video related stuff here but I do love coding. Here is the code: github.com/domminney/DDF-NodeJS-And-MySQL-Template-App Playlist to series: youtube.com/playlist?list=PLST79JCnF3EzgC20TqO5BS_IGqlqu05Wh Next video: youtu.be/Qxzo4NQA-Aw Here are the timestamps: Initialise NodeJS And Install Modules Link App To ExpressJS Create MySQL Tables Create Account Module Listen To A Port With Express Import Account Module And GET URL With Express POST To The API With Postman Database Connection NodeJS to MySQL Fixing A Bug Prepare The Create Account / Sign Up Data In Postman Test POST Data To NodeJS Account Module Server Side Data Validation And Response Connect To MySQL And Check If User Already Exists Salt & Hash Password With Crypto NodeJS Inserting User Into The MySQL Users Table Fixing The Auto Increment Error (silly me) Add The Salt To The MySQL Salts Table Create User Token Send Token As Response Adding Token To POST Header In Postman And Reading In NodeJS Please like, comment, share and subscribe! If you appreciate my efforts online and you use Amazon, then please click or bookmark this link amazon.co.uk/?tag=domminney-21 (UK) or amazon.com/?tag=domminney-21 (USA) to support my channel :) daviddomminney.com facebook.com/daviddomminneyfowler twitter.com/domminney soundcloud.com/domminney instagram.com/domminneyWhat people say. Shared as a step-by-step tutorial for implementing secure user registration and authentication with Node.js and MySQL.
u/Bad_Manateein r/node • Recommends