Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (almost 7 years ago)
- Default Branch: dev
- Last Pushed: 2023-01-23T23:21:57.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T20:49:12.300Z (3 months ago)
- Topics: aws-lambda, jest, lambda, serverless, serverless-framework, stripe, webpack4
- Language: JavaScript
- Homepage:
- Size: 4.59 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://img.shields.io/circleci/project/github/14nrv/serverless-lambda-stripe/dev.svg "Build Status")](https://circleci.com/gh/14nrv/serverless-lambda-stripe/tree/dev)
[![Test Coverage](https://api.codeclimate.com/v1/badges/ab7adeab82d742094951/test_coverage)](https://codeclimate.com/github/14nrv/serverless-lambda-stripe/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/ab7adeab82d742094951/maintainability)](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
```