u/prodcoderin r/node • Recommends
Sessions in Node.js #6 | Express.js tutorial | Authentication in Node | Password Hashing with bcrypt
#express#bcrypt#authentication
13K subscribers • 7 videos on Hallway
Intermediate. Assumes working knowledge.
3.8K views6 years ago1 recommendation
Web developmentSecurityNode.js, Deno and BunWeb and application security
Jan Goebel explains how to implement secure password hashing using bcrypt in an Express.js and Node.js session-based authentication system.
🔥More exclusive content: productioncoder.com/you-decide-what-we-build-next Twitter: twitter.com/_jgoebel Blog: productioncoder.com Code: github.com/productioncoder/express-session-with-redis Learn how to build a cookie and session-based authentication system with the Node express.js framework and the Redis in memory store. This is the part 6 of our Node.js authentication series in which we have a look at how password hashing with bcrypt works. - only log in users if they provide a correct email and password - wire up JSON parser with our express server - request payload validation - installing bcrypt package for password hashing - create authentication service to handle login logic - creating a data access object to look up users by email - creating a few dummy users to test login functionality - generating bcrypt password hashes for test users - looking up users by email and bcrypt password hashWhat people say. Recommended as part of a comprehensive series on implementing session-based authentication in Node.js.
u/prodcoderin r/node • Recommends