Build A Node.js API Authentication With JWT Tutorial

Published: 20 January 2022
on channel: Vetrivel Ravi
4,575
136

We are going to cover how to create a restful api using node.js express and mongodb together with mongoose.

Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial Part - 1 :    • Build A Restful Api With Node.js Express &...  

JSON Web Token is a proposed Internet standard for creating data with optional signature and/or optional encryption whose payload holds JSON that asserts some number of claims. The tokens are signed either using a private secret or a public/private key.

While submitting a form, there are some sensitive data (like passwords) that must not be visible to anyone, not even to the database admin. To avoid the sensitive data being visible from anyone, Node.js uses “bcryptjs”.

Rest apis help us decouple our backend code from our front end so we can use it across multiple application (mobile apps, web apps, etc).
We are going to learn how to build a simple blog post type api with all the useful methods(GET,POST,DELETE,PATCH).

Special Thanks : Dev Ed

Follow us on:
https://codewithvetri.web.app/

---------------------------------------------------------------------------------------------------------------------
Suggested Videos

Food Delivery -    • Food Delivery App [ Full Stack ] - React R...  

Spotify clone 2.0 :    • How to build Spotify clone 2.0 - React Js ...  

WhatsApp Clone :    • Video  

React Dashboard -    • ReactJS Tutorial for Beginners : Fully Fun...  

Animated Landing Page :    • Animated Fashion Design Landing Page | HTM...  

---------------------------------------------------------------------------------------------------------------------
Social Media:
Facebook:
  / velvetri452  

Instagram:
@vetrivel_ravi

Linkedin:
  / velvetri  

---------------------------------------------------------------------------------------------------------------------
Music :-
Song: Atch - Echoes
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Video Link:    • Atch - Echoes (Vlog No Copyright Music)  

Chapters:
00:00 - Intro
00:39 - Project Setup
07:00 - Integrating MongoDb
12:20 - Maintaining the Routes Separately
19:40 - Creating DB Schema
28:20 - Registering New User
34:14 - Password Encryption
41:40 - User Data Validations
1:00:55 - User Login
1:12:30 - JsonWebToken (JWT ) Authentications


#nodejs #authentication #api #vetrivelravi #mongodb


On this page of the site you can watch the video online Build A Node.js API Authentication With JWT Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Vetrivel Ravi 20 January 2022, share the link with friends and acquaintances, this video has already been watched 4,575 times on youtube and it was liked by 136 viewers. Enjoy your viewing!