Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
MERN Stack Authentication And Deployment
Rating: 4.3 out of 5(273 ratings)
11,057 students

MERN Stack Authentication And Deployment

Learn how to authenticate user and deploy MERN stack application on Heroku
Created byFarhan Farooq
Last updated 10/2020
English
English [Auto],

What you'll learn

  • Handling Authentication With JSON Web Token
  • Deployment To Heroku

Course content

1 section • 5 lectures • 1h 2m total length
  • Introduction0:28

    Explore Munchak authentication and deployment in this short series, learn how authentication works, and observe the registration and login flow that redirects users to the home page.

  • Express Server Setup7:59

    Set up an express server, install mongodb, a dev dependency for development, and dotenv for environment vars, create login and home pages, configure a cluster with IP whitelisting, and authentication.

  • Authentication21:14

    Define a user model with name, email, and hashed password using a mongoose schema, implement register and login endpoints, and issue JWT tokens to protect routes with middleware.

  • React App21:03

    Run the server and front-end concurrently, implement register and login with Axios post requests, and manage the authentication token in local storage for protected routes.

  • Deployment11:24

    Deploy a MERN app by configuring production, serving the client build with Express, installing client dependencies, and pushing to Heroku with mongo and secret variables.

Requirements

  • Basic knowledge of MERN Stack

Description

In this course we will learn how to authenticate (register / login) user and deploy our MERN stack app on Heroku. We will also learn how to secure our password before storing into database.

This is not an intro to MERN stack course so you should know the basics of MERN stack.

Who this course is for:

  • Beginner MERN Stack Developers