- Folder structure used consistently across our projects.
- Middy middlewares, including error handler, json body parser, ajv validation
- Typescript with babel preset configured
- Build with webpack from
src/index.ts
intodist/index.js
- serverless-pseudo-parameters plugin: Allows you to take advantage of CloudFormation Pseudo Parameters.
sls create --name PROJECT_NAME --template-url https://github.com/7binary/sls-middy
cd PROJECT_NAME
yarn install
yarn dep
You are ready to go!