From the course: Complete Guide to Serverless Web App Development on AWS

Unlock this course with a free trial

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

Deploying and testing the web page

Deploying and testing the web page

- [Instructor] Let's test our app locally and then in the cloud and deploy everything and see how everything works together. So the first thing we want to do is to test locally. For that, we want to update our VITE_IS_MOCK='false'. So we are using the real API calls. So that's something you need to make sure. And then we can run the server, npm run dev. And this will run our server in the local host. So here it is. If we try to log in with the credentials from the test that we have done before. Services, mockApi. Here. Try these credentials. They should not be working because we don't have any users yet in our Cognito. So these are not there. We want to create a new user. So for that we are going to this page. Sign up, let's put a name, Marcia, and let's give an email address. Make sure that the email address you give is a real one because you are going to receive an email there. So you want to make sure that it's real one. And then we will give password because we are using Cognito…

Contents