CLI tool to generate resources and environments needed to build a serverless project.
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
If this is a brand new project, make sure to create a package.json
first with
the npm init
command.
Installation is done using the
npm install
command:
$ n
5A91
pm install @npmpackageschicago/serverless-generator
OR
$ npx -p @npmpackageschicago/serverless-generator -c 'serverless-generator'
Please lint and add unit tests. To run unit tests, please do the following:
- Have Docker Installed
- run
npm install
- run
npm test
- Happy Coding :)
- This is assuming we have a cloudwatch log arn defined in APIGateway, as long as you have this in one, it should be fine. However, if this is a new account and you never have setup APIGateway before, deploy can fail because of no Cloudwatch ARN. In the future, we can ask the user if they would like to have cloudwatch setup and disable it if they say no.