Home

Awesome

Build Status Test Coverage Maintainability

serverless-lambda-stripe

Build Setup

# install dependencies
$ yarn global add serverless
$ yarn install

Usage

To run unit tests on your local

$ yarn test

To run a function on your local

$ sls invoke local --function createCharge

To simulate API Gateway locally using serverless-offline

$ yarn dev

Deploy to aws with node v8.10

$ yarn deploy