Basic AWS Lambda app generator.
First, install Yeoman and generator-lambda-basic using npm (we assume you have pre-installed node.js).
``bash`
npm install -g yo typescript
npm install -g generator-lambda-basic
Then generate your new project:
`bash`
yo lambda-basic
`bash`
npm run build
Zip all transpiled javascript files under the js foldernode_modules
along with , and upload it to Lambda.
In the AWS Lambda console,
set the handler to index.default`.
* Yeoman has a heart of gold.
* Yeoman is a person with feelings and opinions, but is very easy to work with.
* Yeoman can be too opinionated at times but is easily convinced not to be.
* Feel free to learn more about Yeoman.
MIT © Harry Y
[npm-image]: https://badge.fury.io/js/generator-lambda-basic.svg
[npm-url]: https://npmjs.org/package/generator-lambda-basic
[travis-image]: https://travis-ci.org/harrywye/generator-lambda-basic.svg?branch=master
[travis-url]: https://travis-ci.org/harrywye/generator-lambda-basic
[daviddm-image]: https://david-dm.org/harrywye/generator-lambda-basic.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/harrywye/generator-lambda-basic