https://github.com/14nrv/serverless-lambda-stripe
serverless lambda for stripe
https://github.com/14nrv/serverless-lambda-stripe
aws-lambda jest lambda serverless serverless-framework stripe webpack4
Last synced: 3 months ago
JSON representation
serverless lambda for stripe
- Host: GitHub
- URL: https://github.com/14nrv/serverless-lambda-stripe
- Owner: 14nrv
- License: mit
- Created: 2018-03-06T19:33:16.000Z (over 7 years ago)
- Default Branch: dev
- Last Pushed: 2023-01-23T23:21:57.000Z (over 2 years ago)
- Last Synced: 2025-03-28T17:05:38.518Z (3 months ago)
- Topics: aws-lambda, jest, lambda, serverless, serverless-framework, stripe, webpack4
- Language: JavaScript
- Homepage:
- Size: 4.59 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/14nrv/serverless-lambda-stripe/tree/dev)
[](https://codeclimate.com/github/14nrv/serverless-lambda-stripe/test_coverage)
[](https://codeclimate.com/github/14nrv/serverless-lambda-stripe/maintainability)# serverless-lambda-stripe
## Build Setup
``` bash
# install dependencies
$ yarn global add serverless
$ yarn install
```## Usage
To run unit tests on your local
``` bash
$ yarn test
```To run a function on your local
``` bash
$ sls invoke local --function createCharge
```To simulate API Gateway locally using [serverless-offline](https://github.com/dherault/serverless-offline)
``` bash
$ yarn dev
````Deploy to aws with node v8.10
``` bash
$ yarn deploy
```