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.js
to start your API locally - ???
- Deploy your AWS Lambda function with
lambda.handler
as your handler
The slightly longer version:
- Change or update the LICENSE
- Update package.json:
name
description
repository
keywords
author
license
git init
- Replace this README with something useful.
The license declaration can be found in LICENSE. (It's MIT)