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 - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to Serverless Web App Development on AWS
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
-
-
-
-
-
(Locked)
Introduction to authentication and authorization for web apps3m 1s
-
(Locked)
Introduction to AWS Cognito3m 30s
-
(Locked)
Creating Cognito resources with AWS CDK4m 21s
-
(Locked)
AWS CDK passing values between stacks5m 13s
-
(Locked)
Deploying and verifying resources in the AWS console1m 47s
-
(Locked)
Adding authentication7m 40s
-
(Locked)
Deploying and testing the web page5m 45s
-
(Locked)
Challenge: Add Login functionality1m 43s
-
Solution: Add Login and log out functionality4m 59s
-
(Locked)
Progress check: Authentication1m 8s
-
(Locked)
-
-
-
-
-
-