Writing your first serverless application with AWS SAM
In this section, we will create a few serverless applications to cover most of AWS SAM’s capabilities. The first one—Hello, World—will be created using AWS Quick Start templates, so we can quickly get hands-on experience with AWS SAM.
The second—Party Planner—will be developed from scratch. You don’t have to worry—the actual code is not in the scope of this book and the actual focus will be on creating a complex application with more than one function.
Before we begin development, let’s make sure we have everything we need.
Prerequisites
In order to run the AWS SAM CLI commands, we need to install AWS SAM CLI and its dependencies first. Depending on the OS you have, the steps will be different. The following steps are for installation on macOS.
The guides on how to install AWS SAM CLI on other OSs can be found at https://docs.aws.amazon.com/serverless-application...