From the course: Creating a Serverless Application Using React in AWS

Unlock the full course today

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

Load single-value data into DynamoDB programmatically

Load single-value data into DynamoDB programmatically - Amazon Web Services (AWS) Tutorial

From the course: Creating a Serverless Application Using React in AWS

Load single-value data into DynamoDB programmatically

- [Instructor] You should have entered all of the different services into the services table in DynamoDB. And what you probably found out is, what I discovered is that while this works perfectly well, and it's really, really easy, there are two problems, one is, it takes a lot of time. You're constantly hopping back and forth between your JSON file and copying and pasting which is always a little bit error prone. And it also just doesn't really feel like the way that as a developer, you want to do things. So let's go ahead and take care of the developer side of that. Hop back into visual studio. And in the example files, you should see a couple of new scripts under your source scripts directory. They are all prefaced with the word load. So let's look at loadAccessibilities first, 'cause this is the simplest. Now, as I said before, sometimes you need to memorize how to do things and sometimes you just need to…

Contents