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.
Solution: Integrating the new function in the frontend - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to Serverless Web App Development on AWS
Solution: Integrating the new function in the frontend
(upbeat music) - [Instructor] Let's go through how I solve this challenge. First, what you want to do is to export the schema after you have deploy your infrastructure. So you need to have an updated schema. Make sure that you have the send me feature here. So let's find it in this long list of information. So here we have the mutation. Send feature so this schema is updated so we can export the graph well. And then we can put it into our web app. Let's go back to our web app. Here it is, the web app. And let's replace the existing schema with the one that we just got from the internet. Good. Now it's replaced. You can see here where are the mutations. Send features, so that's updated. Now we can regenerate all the code. So we can run amplify code gen. And this should regenerate all the code for me based on this schema. So if we go to the source GraphQL, the subscriptions, the mutation should have here the send. So let's check the lead, send feature, so that's good. And then in the…
Contents
-
-
-
-
-
-
-
-
(Locked)
Introduction to GraphQL4m 5s
-
(Locked)
Introduction to AppSync3m 42s
-
(Locked)
Challenge: Create a cognito userpool, client and identity pool2m 26s
-
(Locked)
Solution: Create a cognito userpool, client and identity pool5m 41s
-
(Locked)
Challenge: Host the test WebApp with Amplify1m 49s
-
(Locked)
Solution: Host the test WebApp with Amplify10m 32s
-
(Locked)
Challenge: Add authentication using cognito to the webapp1m 53s
-
(Locked)
Solution: Add authentication using cognito to the webapp5m 41s
-
(Locked)
Amplify GraphQL Directives2m 33s
-
Create the GraphQL Schema4m 56s
-
(Locked)
Creating a simple API with AppSync and AWS CDK7m 39s
-
(Locked)
Deploying and testing your AppSync API3m 47s
-
(Locked)
Integrating the API into your webapp9m 55s
-
(Locked)
Adding a function as a datasource14m 35s
-
(Locked)
Challenge: Integrating the new function in the front end1m 21s
-
(Locked)
Solution: Integrating the new function in the frontend5m 40s
-
(Locked)
Progress check: Web Apps with GraphQL APIs1m 54s
-
(Locked)
-
-
-