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
On this page of the site you can watch the video online User Authentication | Node.js API From Scratch Using TypeScript, Express And MongoDB #2 with a duration of hours minute second in good quality, which was uploaded by the user Rettson 20 November 2021, share the link with friends and acquaintances, this video has already been watched 12,989 times on youtube and it was liked by 371 viewers. Enjoy your viewing!