We will start with simple attributes like name, age and category. Let’s create a Pet class now to contain the attributes for the pets. Let’s change the pom.xml to update the name of the module to PetStore and use Java 11 instead of Java 8.
![docker local dynamodb kinesis adapter docker local dynamodb kinesis adapter](https://codesuccinctly.files.wordpress.com/2022/02/dynamodb.drawio-1.png)
sam init -r java11 -d maven -app-template pet-store -n pet-storeįor more details about the parameters passed, please refer to the previous article. This will create a pet-store folder in your current directory. Run the sam-init command to create a new project.
#DOCKER LOCAL DYNAMODB KINESIS ADAPTER INSTALL#
You can install and configure SAM by following the guidelines in the previous article here. We will be using AWS SAM for this tutorial. This application will have APIs for adding a new pet and fetching the list of available pets.
![docker local dynamodb kinesis adapter docker local dynamodb kinesis adapter](https://cdn.slidesharecdn.com/ss_thumbnails/awskinesiswebinaroct2014v50-141022134402-conversion-gate02-thumbnail-4.jpg)
This time, we will create a sample Pet Store application using Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. In this article, I will walk you through the steps required to build and deploy a serverless application without having to create and setup an actual AWS account.
![docker local dynamodb kinesis adapter docker local dynamodb kinesis adapter](https://miro.medium.com/max/1400/1*-QArq2jFeDNcQEUgKAZyrg.png)
And it can lead to unwanted expenses as well (if you don't configure it properly). Setting up an AWS account and configuring a development environment can be time-consuming. These were quick fun projects that leveraged the power of serverless computing and allowed us to deploy a serverless application on AWS within a few minutes.īut many people are not able to completely leverage such tutorials if they don't have an AWS account. In my previous articles, I talked about building and deploying serverless applications on AWS using Chalice and SAM.