Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build a Node.js API Authentication with JWT Tutorial

developedbyed via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to build a Node.js API with JWT authentication in this comprehensive tutorial. Create a secure authentication system using MongoDB, Mongoose, bcryptjs, and JSON Web Tokens. Set up an Express server, connect to a database, create user models, and implement user registration with password hashing. Explore validation using Joi, set up login routes, and create private routes protected by JWT. Master the essentials of building a robust authentication system for your Node.js applications.

Syllabus

Introduction
Setting up express
Connecting to a database
.env files
Creating models in mongoose
Registering a user
Validation with Joi
Hashing passwords
Setting up the login route
Adding jsonwebtokens to our auth
Creating private routes with jwt

Taught by

developedbyed

Reviews

Start your review of Build a Node.js API Authentication with JWT Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.