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
Sur cette page du site, vous pouvez voir la vidéo en ligne User Authentication | Node.js API From Scratch Using TypeScript, Express And MongoDB #2 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Rettson 20 novembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12,989 fois et il a aimé 371 téléspectateurs. Bon visionnage!