See Blog.md for detailed instructions.
- Node.js v8
- npm and/or yarn
- Serverless: https://serverless.com/framework/docs/getting-started/
- SAM Local: https://github.com/awslabs/aws-sam-local#installation
- AWS default profile with credentials.
- Clone this repo and
cd
into it. yarn install
sls deploy
sls invoke -f findCharactersByTag -p examples/findCharactersByTag.json
Tip
An example payload is needed to execute the function. The easiest way to do this is to click on Test from the AWS console's Lambda's page. Select API Gateway AWS Proxy. Copy the contents to a local file and save as json, I'm using
examples/findCharactersByTag.json
. Edit the body element to work with the expected request.
sls remove