From the course: React: Authentication (2021)

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Creating a user pool in Node.js

Creating a user pool in Node.js - React.js Tutorial

From the course: React: Authentication (2021)

Creating a user pool in Node.js

- [Instructor] Okay, our next step, now that we've got our user pool and identity pools set up, is going to be to simply start converting our server endpoints and the front end pages that use them over to use AWS Cognito instead of the homemade setup that we've been using up until now. Now, keep in mind that throughout the next few videos, we're going to be changing a lot of the functionality that we built out throughout the course. So you may want to commit this to GitHub or something like that if you want to actually preserve those changes from before so that you can change it back after you try out AWS. So our first task here is going to be to convert the signup flow over to Cognito and this will be followed by the email verification flow, the login flow and finally, the flow for resetting passwords. So let's start with the signUpRoute on the server. And here's what that conversion is going to look like. Let's…

Contents