Donate

If you found this library useful, donate some CPU cycles to this project by clicking above. Thank you! 😇

node-lambda-template

node-lambda-template

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.

Install

Clone this repository.

cd /to/your/template/path
npm install

Usage

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