1
00:00:00,300 --> 00:00:07,440
In this section we are going to develop the microservices for performing CRUD operations with using

2
00:00:07,440 --> 00:00:09,270
a c k libraries.

3
00:00:09,270 --> 00:00:15,090
So that means we are going to focus on implementing the actual code for performing cloud functions,

4
00:00:15,090 --> 00:00:21,150
interacting with ADB using Adobe's SDK JavaScript version three libraries.

5
00:00:21,150 --> 00:00:27,270
So this is the important and this is the actual code, what we will develop for the lambda functions.

6
00:00:28,070 --> 00:00:33,560
So that means we are going to create serverless API that creates, reads, updates and deletes item

7
00:00:33,560 --> 00:00:39,200
from the Dynamo DB and we will follow the same steps what we have done in the previous sections.

8
00:00:39,200 --> 00:00:42,320
But this time the different part is lambda actual code.

9
00:00:42,320 --> 00:00:48,890
We will implement these lambda functions using the latest JavaScript version three packages and libraries.

10
00:00:48,890 --> 00:00:54,680
So if you look at the our big picture, which is the reference architecture for restful microservices,

11
00:00:54,680 --> 00:00:58,400
basically we will implement commerce product microservices.

12
00:00:58,400 --> 00:01:05,240
So this project and this will be perform crud restful microservices when accommodating the request.

13
00:01:05,240 --> 00:01:11,630
So if you look at this architecture, basically the difference is in here when developing our product

14
00:01:11,630 --> 00:01:17,890
microservices, we will use a SDK for JavaScript version three libraries in order to interact with the

15
00:01:17,900 --> 00:01:18,770
Dynamo DB.

16
00:01:19,010 --> 00:01:21,590
After that, this will be returned back the same response.

17
00:01:21,590 --> 00:01:28,290
So let me all of this architecture basically client send request to our microservices by making HTTP

18
00:01:28,310 --> 00:01:33,950
calls, Amazon API Gateway Host, RESTful HTTP request and response to the customer.

19
00:01:34,010 --> 00:01:40,070
In this scenario, we will use API Gateway and redirect to request to our lambda function.

20
00:01:40,160 --> 00:01:46,010
ADA, which is Lambda contains the business logic to process incoming API calls and leverages the dynamic

21
00:01:46,010 --> 00:01:52,610
DB as a persistent storage and Amazon Dynamo DB persistent stores, microservices, data and scale based

22
00:01:52,610 --> 00:01:53,390
on the demand.

23
00:01:53,390 --> 00:01:59,090
So that means Dynamo DB perform the cloud operations and return back to response to the client application.

24
00:01:59,600 --> 00:02:05,660
So if you look at the our service project development phase, you can see in here the first part should

25
00:02:05,660 --> 00:02:12,020
be infrastructure creation and the second part is development Lambda Microservices using the SDK libraries.

26
00:02:12,020 --> 00:02:17,900
So let me come here and first of all, we should understand our requirements and try to find the best

27
00:02:17,900 --> 00:02:19,070
way to implement it.

28
00:02:19,190 --> 00:02:22,940
So we are going to develop eCommerce product, Microsoft Source Project.

29
00:02:22,970 --> 00:02:26,510
Since this is a service project, we will have two main parts.

30
00:02:26,510 --> 00:02:34,010
So the first part is the infrastructure creation on a will is to create API, Gateway, Lambda Function

31
00:02:34,010 --> 00:02:36,080
and Dynamo DB table on the cloud.

32
00:02:36,830 --> 00:02:42,590
And the second part is develop lambda microservices to perform CRUD operations.

33
00:02:42,740 --> 00:02:50,630
In the business logic, we will use a SDK JavaScript version three with the agnostic six standards to

34
00:02:50,630 --> 00:02:53,300
implement cloud functions into our lambda function.

35
00:02:54,040 --> 00:02:59,620
So let's start the first step, which is the create infrastructure of this architecture.

36
00:02:59,620 --> 00:03:04,240
And we will continue with developing our lambda function using the latest SRC packages.
