Skip to content

daaru00/serverless-template

Repository files navigation

Serverless Template

Serverless template for AWS projects with NodeJS as Lambda functions runtime.

Getting Started

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

Deploy Serverless project using deploy npm script

npm run deploy

Remove

Destroy all resources created using remove npm script

npm run remove

Development

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.

Releases

No releases published

Packages

No packages published