If you found this useful, consider also checking out dotenv-vault. Thank you! 😇
The bare minimum for a node.js app running on Amazon Lambda.
It uses node-lambda under the hood to locally run and also deploy your node.js Amazon Lambda application.
Clone this repository.
cd /to/your/template/path
npm install
There are 4 available commands to use on this template. For more info and usage descriptions, see the node-lambda repository.
cd /to/your/template/path
npm run setup # setup node-lambda files
npm run test # test your event handler and check output
npm run package # just generate the zip that would be uploaded to AWS
npm run deploy # deploy to AWS