Learn The MERN Stack – JWT Authentication

Learn The MERN Stack - JWT Authentication


In this video, we will secure our API by adding JWT authentication

đź’» Code:
https://github.com/bradtraversy/mern-tutorial

👇 Full React 2022 Course With $12.99 promo:
https://www.udemy.com/course/react-front-to-back-2022/?couponCode=REACTF2BFEB2022

👇 Website & Courses:
https://traversymedia.com

đź’– Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia

👇 Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy

Timestamps:
0:00 – Intro & Current Code
1:45 – What is JWT?
3:10 – User Model
6:00 – Add User to Goal Model
7:21 – User Routes & Controller Functions
14:38 – Register User
18:58 – Hash Password
22:07 – Authenticate User
25:40 – Generate JWT
29:54 – Auth Middleware
37:34 – Protecting Routes & getMe()
41:25 – Protect Goal Routes
43:10 – Get Only Users Goals
44:00 – Setting a User Goal
47:00 -Update a User Goal
49:30 – Delete User Goal

The Free Flash Maker is Great For Building Your Website

Learn why free flash maker is a great website building tool. It can help you in ways to make your site more interactive.

Drop and Drag Website Builder – What Do You Get With It?

Do you want to create & publish professional websites in minutes without knowing a thing of HTML or any other code! Do you want a website development tool that even the web illiterate can use and one that computer savvy experts love to use! Learn what you can get with a simple, quick and easy drag and drop website builder that can make things a whole lot easier for you.

Achieving the Web Site of Your Dreams

Designing the dream Web site starts with a semblance of organization. Having a Web site affords an affluence of online business opportunities. With the ability to generate leads, close sales and strike new online relationships, a professionally designed Web site is well worth the investment.

Bedroom Developer to Business Entrepreneur – 5 Survival Tips to Running Your Own Website Business

Consider the scenario: You are a bedroom developer/designer who over the past two years has built websites for friends, family and local business in your spare time and now you want to run your own website business. Undoubtedly this starting point is an exciting time, typically when one starts out in web design you are either creatively dominant or technically. Generally speaking for those who claim to be in the middle this is fine it just means when the time comes to delegate – make sure you know which side of the fence you will sit on.

What Every Small Business Needs to Establish – Their Presence Online

Developing a website on your own can be a difficult task, especially in today’s highly competitive market. You must create your website, register a domain name, obtain a web host for your website, and then market your website. Most people who are not internet savvy do not have a clue how to begin this process, and those that do accomplish these tasks will usually not have a professional looking website in the end.