YoVDO

Build a Node.js API Authentication with JWT Tutorial

Offered By: developedbyed via YouTube

Tags

Node.Js Courses Database Management Courses Routing Courses Data Validation Courses Mongoose Courses JWT Courses Password Hashing Courses

Course Description

Overview

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

Related Courses

MongoDB for Node.js Developers
MongoDB University
Introduction to Office 365 Development and APIs
Microsoft via edX
Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera
Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera
Introduction to MongoDB using the MEAN Stack
MongoDB via edX