https://github.com/willfarrell/serverless-template
Boilerplate for serverless
https://github.com/willfarrell/serverless-template
Last synced: 12 months ago
JSON representation
Boilerplate for serverless
- Host: GitHub
- URL: https://github.com/willfarrell/serverless-template
- Owner: willfarrell
- License: mit
- Created: 2019-01-22T21:26:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-11T13:15:53.000Z (over 6 years ago)
- Last Synced: 2025-01-19T13:27:15.461Z (about 1 year ago)
- Language: JavaScript
- Size: 47.9 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverless Template
```bash
npm i
export AWS_SDK_LOAD_CONFIG=1
SLS_DEBUG=* ./node_modules/.bin/serverless deploy --verbose --force --stage="api" --aws-profile=default
npm run deploy
```
## TODO
- test for cache
- test for compression
- proper health endpoint (RFC)
- ssm param store
- cache invalidation example
- ex of applying env to lambda
- ex how to cleanly apply IAM policy to each lambda
- on commit hooks
- on commit linting
- plugin for regional WAF
- plugin for local iam testing
- parallel tests (https://www.npmjs.com/package/mocha-parallel-tests)