If you were at the GGMUG meetup last night here is the code for the functions I created when I covered the serverless API example.
Remember, the steps were:
- Create AWS Account
- Create Lambda function
- Create DynamoDB table
- Add policy to Lambda role to allow access to DynamoDB
- Create API Gateway and create methods for GET and POST
- Publish API Gateway
If you run into any trouble or just don’t remember what I did last night then feel free to email me at [email protected].