https://github.com/motdotla/node-lambda-template
The bare minimum for a node.js app running on Amazon Lambda.
https://github.com/motdotla/node-lambda-template
Last synced: 3 months ago
JSON representation
The bare minimum for a node.js app running on Amazon Lambda.
- Host: GitHub
- URL: https://github.com/motdotla/node-lambda-template
- Owner: motdotla
- Created: 2014-11-24T16:15:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T20:31:13.000Z (about 2 years ago)
- Last Synced: 2025-05-12T15:53:47.679Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 69.3 KB
- Stars: 159
- Watchers: 10
- Forks: 45
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
If you found this useful, consider also checking out [dotenv-vault](https://github.com/dotenv-org/dotenv-vault). Thank you! 😇
# node-lambda-template

The bare minimum for a node.js app running on [Amazon Lambda](http://aws.amazon.com/lambda/).
It uses [node-lambda](https://github.com/motdotla/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](https://github.com/motdotla/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
```