Casao / lifx-lambda

Lambda for controlling lifx lights from AWS Dash button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Lambda for controlling lifx lights from AWS Dash button


Languages

Language:JavaScript 100.0%