In this video, we are going to reading and writing a single item in dynamite.
But before that, let's all be what we have done so far.
Basically, we have created a Node.js application on our local computer, and we use a ADB SDK JavaScript
version three SDK libraries to invoke dynamic ADB APIs.
And after that, we will use node commands to perform these end to end architectures.
So we have done for the first two use cases, which is the create dynamo DB table and listing, describing
and deleting Dynamo DB table.
So after that, we will continue with our use cases reading, writing, updating, query scan and particle
crud operations.
So if you feel so comfortable what we are doing in here, you can skip this section and skip the next
hands on section, which is using the SDK libraries to perform hands on operations.
But otherwise, I would suggest and recommend to continue with V to perform other use cases and see
how we can use a Dynamo DB SDK package libraries in our operations, which is the use case of the read
item, write, item, update, create and scan data and particle cloud operations.
And we will use these commands to perform these operations, put item, update item, get item and delete
item command when we are sending requests to our SDK package.
So the idea is here, don't bother yourself.
When you feel comfortable about using the HDC package, you can skip the next section, but since that
time, please follow the use cases and try to implement in your computer and run the node commands and
create Node.js application on your computer.
Because in the next sections we will create our Node.js applications and deploy the Lambda functions
to interact different services with different use cases.
Okay, now let's get started to implement the other use cases to do that.
First of all, we need to prepare our environment and after that we will create table again because
in the last time we delayed our Dynamo DB table to perform, read, update and delete operations.
So please open the pseudocode and see that I have create a new lecture folder and and from now on we
will follow this folder structure.
Since the section is completed, I have created any JavaScript files to perform other videos.
So that's why this will be the final lecture folder for the section 20.
So now in this folder I have created and following these steps that we follow in the last videos I have
installed the required time ADB package and create dynamo ADB client object.
And now we are going to develop actual code one by one.
And after that we will run node commands.
So to do that I have create a create table JS file to create our new table, which will will be the
product table.
You can go at the end of this command text and see that this time we will create a product table which
ID should be the partition and the primary key for that purpose I have created to create table JS and
these are the typical send method using the create table command and placing the parameters.
If you see the parameters this time we have only one attribute which is the ID and this time it is number
and ID is a primary and partition key and table name product and provisioned through retried capacity.
You can see in these configurations.
So as you can see that we should create our table first and after that we will perform, read, write
and delete item in this table.
To do that, please go to location of this folder structure and run the node command.
I'm going to run create table command to create this table hit enter.
As you can see, that table status is creating.
To verify that, please open the console, go to tables, click to refresh button and make sure that
you have created product table successfully.
So in the next video we are going to implement read, write, update, query and you can operation on
this table.