Skip to content
0:00 / 0:00

#express#bcrypt#authentication

Sessions in Node #6 | Express.js tutorial | Authentication in Node | Password Hashing with bcrypt

Jan Goebel

13K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jan Goebel
  • Linked in the descriptionproductioncoder/express-session-with-redis
  • May be out of date. Uploaded 6 years ago, in an area where tools change fast.

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 hash

Why it's here

1 person recommends this

What people say. Recommended as part of a comprehensive series on implementing session-based authentication in Node.js.

u/prodcoderin r/node • Recommends

Sessions in Node.js #6 | Express.js tutorial | Authentication in Node | Password Hashing with bcrypt