JWT Authentication in Express APIs

About

In this module, you’ll learn to build an Express API with JWT (JSON Web Tokens) authentication. We’ll cover the basics of JWTs, including their functionality and importance in securing user data. You’ll set up an Express server and integrate JWT authentication to manage user access securely. By the end of this module, you’ll have the skills to secure API routes and effectively control user access, providing a solid foundation for implementing JWT-based authentication in any web application.

Content

Lesson Skills
Setup Setting up the development environment
Concepts Describe the use of JWTs as an authentication strategy
Setting Up JWTs Sign and Verify JWTs in Express
Sign Up Route Implement a sign up route with express and JWTs
Sign In Route Implement a sign in route with express and JWTs
Protecting Routes Protect authenticated express routes

References

📖 Reference Materials

Internal

Prerequisites

Solution code

🏁 Solution code

Course landing pages

Resources

✏️ Instructor Guide

🎥 Video Hub

🏗️ Release Notes


Find a 👾 bug 👾 or have suggestions? Let us know!