This template demonstrates how to make a simple HTTP API with Node.js running on AWS Lambda and API Gateway using the Serverless Framework.
$ serverless deploy
You can invoke your function locally by using the following command:
yarn dev | npm run dev
Which should result in response similar to the following:
{
"statusCode": 200,
"body": "Lorem ipsum"
}