Github | NPM | Travis
lambda-micro-boilerplate provides a simple template with a minimal dependency footprint for AWS Lambda projects. It uses lambda-api to manage routing.
PROJECT_DIRECTORY="my-lamda-api"
git clone --depth=1 git@github.com:Sleavely/lambda-micro-boilerplate.git $PROJECT_DIRECTORY
cd $PROJECT_DIRECTORY
rm -rf .git/
npm install- Modify routes in
api.js - Run
node local.jsto start your API locally - ???
- Deploy your AWS Lambda function with
lambda.handleras your handler
The slightly longer version:
- Change or update the LICENSE
- Update package.json:
namedescriptionrepositorykeywordsauthorlicense
git init- Replace this README with something useful.
The license declaration can be found in LICENSE. (It's MIT)