Construct A Node.js API Authentication With JWT Tutorial

Have a look at my courses and end up being more imaginative!

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!

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 –
Divine Being V-Mic D3 Pro –
BEHRINGER Audio User Interface –

Cam Equipment
Fujifilm X-T3 –
Fujinon XF18-55 mmF2.8-4 –

PC Specifications
Kingston SQ500 S37/480 G 480 GB –
Gigabyte GeForce RTX 2070 – gN(Amazon)
AMD Ryzen 7 2700 X –
Corsair Revenge LPX 16 GB –
ASRock B450 M PRO4 –
DeepCool ATX Mid Tower –
Dell Ultrasharp U2718 Q 27- Inch 4K –
Dell Ultra Sharp LED-Lit Display 25 2k –
Logitech G305 –
Logitech MX Keys Advanced –

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 and associated websites.

Follow me on:



LAKEY INFLUENCED – Me 2 (Task. Julian Avila)
Music By:

Dj Quads
Track Call: “Every Early morning”
Music By: Dj Quads @

Innovative Commons– Attribution-ShareAlike 3.0 Unported– CC BY-SA 3.0

#nodejs #authentication #api.

Leave a Reply

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

%d bloggers like this: