Construct A Node.js API Authentication With JWT Tutorial

Have a look at my courses and end up being more imaginative!
https://developedbyed.com/

In this episode we are going to produce a node.js api that is going to manage Authentication for us in any application we wish to utilize it in.

We are going to cover an authentication approach utilizing jwt. We will utilize mongodb as our database, mongoose to develop designs and to link to our reveal server, bcryptjs to hash passwords and jwt to look for personal paths.

❤ End up being a patreon for special videos and more!
https://www.patreon.com/dev_ed

Things covered in this video:
00: 00: 57 Intro
00: 02: 32 Establishing reveal
00: 08: 12 Linking to a database
00: 14:22 env files
00: 16: 39 Producing designs in mongoose
00: 19: 34 Signing up a user
00: 25: 40 Recognition with Joi
00: 42: 35 Hashing passwords
00: 48: 53 Establishing the login path
00: 57: 25 Including jsonwebtokens to our auth
01: 03: 25 Producing personal paths with jwt
Microphones I Utilize
Audio-Technica AT2020 – https://geni.us/Re78(Amazon)
Divine Being V-Mic D3 Pro – https://geni.us/y0HjQbz(Amazon)
BEHRINGER Audio User Interface – https://geni.us/AcbCpd9(Amazon)

Cam Equipment
Fujifilm X-T3 – https://geni.us/7IM1(Amazon)
Fujinon XF18-55 mmF2.8-4 – https://geni.us/sztaN(Amazon)

PC Specifications
Kingston SQ500 S37/480 G 480 GB – https://geni.us/s7HWm(Amazon)
Gigabyte GeForce RTX 2070 – https://geni.us/uRw71 gN(Amazon)
AMD Ryzen 7 2700 X – https://geni.us/NaBSC(Amazon)
Corsair Revenge LPX 16 GB – https://geni.us/JDqK1KK(Amazon)
ASRock B450 M PRO4 – https://geni.us/YAtI(Amazon)
DeepCool ATX Mid Tower – https://geni.us/U8xJY(Amazon)
Dell Ultrasharp U2718 Q 27- Inch 4K – https://geni.us/kXHE(Amazon)
Dell Ultra Sharp LED-Lit Display 25 2k – https://geni.us/bilekX(Amazon)
Logitech G305 – https://geni.us/PIjyn(Amazon)
Logitech MX Keys Advanced – https://geni.us/YBsCVX0(Amazon)

DISCLAIMERS:
I participate in the Amazon Solutions LLC Associates Program, an affiliate marketing program developed to offer a method for us to make charges by connecting to Amazon.com and associated websites.

Follow me on:

Twitter: https://twitter.com/deved94
Instagram: https://www.instagram.com/developedbyed/
Github: https://github.com/DevEdwin

Music:

Outro:
LAKEY INFLUENCED – Me 2 (Task. Julian Avila)
Music By: https://soundcloud.com/lakeyinspired

Introduction:
Dj Quads
Track Call: “Every Early morning”
Music By: Dj Quads @ https://soundcloud.com/aka-dj-quads

Innovative Commons– Attribution-ShareAlike 3.0 Unported– CC BY-SA 3.0
http://creativecommons.org/licenses/b

#nodejs #authentication #api.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: