Serverless template for AWS projects with NodeJS as Lambda functions runtime.
Use this template to bootstrap a new project
serverless create --template-url https://github.com/daaru00/serverless-template/tree/master/ --path myService
Install NPM dependencies
npm install
Deploy Serverless project using deploy
npm script
npm run deploy
Destroy all resources created using remove
npm script
npm run remove
ESLint configurations are stored in .eslintrc.js
, ignoring node_modules
directory as described in .eslintignore
. IDE compatible rules are describe in .editorconfig
in order to make easier to lint code.
Middy is used at runtime to better organize code using middleware pattern.
http-errors module is used to mange error types.