- Folder structure used consistently across our projects.
- serverless-pseudo-parameters plugin: Allows you to take advantage of CloudFormation Pseudo Parameters.
- serverless-bundle plugin: Bundler based on the serverless-webpack plugin - requires zero configuration and fully compatible with ES6/ES7 features.
sls create --name YOUR_PROJECT_NAME --template-url https://github.com/codingly-io/sls-base
cd YOUR_PROJECT_NAME
npm install
You are ready to go!
sls deploy -v
sls remove -v
sls deploy -f -v
sls invoke local -f #offline mode
sls logs -f --startTime 1m
sls logs -f processAuctions
sls logs -f processAuctions -t
sls invoke -f -l