From the course: AWS and React: Creating Full-Stack Apps (2019)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
How to DynamoDB data CRUD in your React app - Amazon Web Services (AWS) Tutorial
From the course: AWS and React: Creating Full-Stack Apps (2019)
How to DynamoDB data CRUD in your React app
(upbeat music) - [Instructor] So let's go over this last challenge. So the first thing we want to do is run a query in the AppSync queries area with a filter, something like matching the name. And then once we get that working, we want to run that same query in our React code. So first, let's go to AppSync. So I'm in AppSync, I'm in the Queries area. I'm going to close this area over on the left for more space and I'm going to delete all this placeholder code. I'm logged in as beartest to my user pool so now we can run the query on the DB table. So I'm going to start by typing query and name it AllBear and then open, close curly brace. I'm going to open up the docs for some help and I can click on Query for the different queries. There's listTodos. That's what we want to call this, listTodos. We notice that takes a filter and returns a ModelTodoConnection, so I'm going to see what it's returning and it looks like…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Adding AppSync GraphQL to a React app1m 22s
-
(Locked)
Adding DynamoDB data through a React app2m 10s
-
(Locked)
CRUD DynamoDB data with a React app3m 53s
-
(Locked)
Testing DynamoDB CRUD with a React app3m 13s
-
(Locked)
DynamoDB data CRUD in your React app27s
-
(Locked)
How to DynamoDB data CRUD in your React app3m 29s
-
(Locked)
-