Current section: Email 6 exercises

Email Verification Flow

Loading exercise


00:00 Now that we don't actually send emails when emails are sent, we just log the email contents to the terminal output, we can actually start building our sign-up page to follow the auth flow that we want. Before, you would just go to sign up and you would enter in your email and your username and all of that stuff.

00:19 But we want to verify the user's email before we let them finish setting up an account. Your product manager may have a different opinion about how to do this. Maybe they want to get people onboarded first and then have them verify their email later. That's also a perfectly reasonable way to do onboarding. But the way that we're doing onboarding is they first have to

00:38 verify the email and then we will let them do the onboarding. Kelly put together an onboarding route for us that pretty much just refactored a bunch of things for us. Now, we just have this pretty simple sign-up form that allows the user to enter their email.

00:54 If I say babayee.example.com, then we have not yet implemented the support for actually sending an email. That is your job. You need to implement sending the email. That's as far as we're going to get.

01:10 You're not going to go into actually processing the email and sending them over to onboarding or anything. We'll get to that in a little bit. But for this step, your job is just to actually send the email and you should be able to check out the terminal output and make sure

01:27 that the email is properly logged to the terminal. Have a good time. We'll see you when you're done.