This video will be available to
subscribers on Thu, Dec 11, 2025.
You must be a subscriber to view this video.
Dec 11, 2025
18m:6s

Authentication Basics

Classification
Software Engineering | Languages | JavaScript | Node
Keywords
javascript | node

About This Episode:

You’ve built forms, handled sessions, and flashed messages — now it’s time to add user authentication like a real web application 💪

👉 In this episode, you’ll learn how to:

🧩 Create a login form and validate user credentials
🔑 Use bcrypt for secure password hashing
🧠 Store authenticated state in your existing session manager
🚪 Implement login, logout, and access control routes
🌐 Update views to reflect authenticated users

By the end, your JavaScript server won’t just remember users — it’ll recognize them 🧠💻

💡 Relevant Links

Previous TekCasts series:
- JavaScript for Beginners: https://tekcasts.com/play/javascript-for-beginners-what-is-javascript
- JavaScript in the Browser: https://tekcasts.com/play/javascript-in-the-browser-browser-runtime-environment

Current series:
- JavaScript on the Server: https://tekcasts.com/play/javascript-on-the-server

Libraries mentioned:
- bcrypt: https://www.npmjs.com/package/bcrypt
- Node.js http: https://nodejs.org/api/http.html
- Node.js crypto: https://nodejs.org/api/crypto.html
Bob Cravens

Bob Cravens

Your Instructor
more »
Owner
TekFoundry
Wisconsin
United States
Short Bio:
Bob Cravens is a seasoned technology leader, software architect, and educator with a passion for empowering others through practical, real-world knowledge. As the founder of TekFoundry, Bob has dedicated his career to designing and delivering innovative software solutions that combine cutting-edge technology with elegant simplicity.

At TekCasts, Bob leverages over two decades of experience in software engineering, application architecture, and team leadership to create engaging, high-impact courses for developers and technology professionals. His instructional style is rooted in practical application, offering insights drawn from his extensive background in industries like medical devices and global technology consulting.

Bob’s expertise spans a variety of technologies and methodologies, including PHP/Laravel, FastAPI, and DevOps, as well as architecture best practices and team dynamics. Whether teaching foundational concepts or advanced strategies, he’s passionate about helping others turn complex challenges into streamlined solutions.

When not crafting elegant code or inspiring the next generation of tech innovators, Bob enjoys exploring the intersection of technology, business strategy, and creative problem-solving.