Lambda API Frame
Basic shared functionality for AWS Lambda + API-Gateway projects. Only for use
in node.js
.
Installation
npm install --save bima-lambda-api-framework
Configuration
Use environment variables in process.env
.
Key | Description |
---|---|
SLS_SERVICE |
(String ) The application or service name. |
SLS_STAGE |
(String ) The service environment; usually develop , staging or production . |
HB_API_KEY |
(String ) The Honeybadger API key. |
DOORKEEPER_BASE_URL |
(String ) The doorkeeper url for token validation; just protocol + host. |
HMAC_ACCESS_KEY |
(String ) The HMAC access key. |
HMAC_SECRET_KEY |
(String ) The HMAC secret key. |
Test
npm test