User Authentication | Node.js API From Scratch Using TypeScript, Express And MongoDB #2

Published: 20 November 2021
on channel: Rettson
12,989
371

In todays video we will be looking into locking down the API we made in the last episode of Node.js API From Scratch using JWT authentication. We'll go over setting up functionality to create and verify json web tokens in Node.js using TypeScript, Express and storing them in MongoDB in order to have a secure API.

I hope this tutorial is helpful, let me know in the comments if you have any specific topics you want me to cover in a future video and if you need any help related to what we've done in this video.

Github Repo - https://github.com/JasonMerrett/nodej...

Commands for installing packages:
npm i jsonwebtoken bcrypt

npm i -D @types/jsonwebtoken @types/bcrypt

Timestamps:
00:00 Introduction
00:30 Setting Up JWT Functionality
12:30 Adding User Resource
53:30 Add Authenticated Middleware
1:06:50 Testing Our API


Watch video User Authentication | Node.js API From Scratch Using TypeScript, Express And MongoDB #2 online without registration, duration hours minute second in high quality. This video was added by user Rettson 20 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,98 once and liked it 37 people.