Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/yosriady/serverless-stripe-backend

Serverless payments built on AWS Lambda & the Serverless framework
https://github.com/yosriady/serverless-stripe-backend

serverless serverless-framework stripe stripe-api

Last synced: about 1 month ago
JSON representation

Serverless payments built on AWS Lambda & the Serverless framework

Lists

README

        

# Serverless Stripe backend

The backend for a serverless stripe application.
Built with AWS Lambda and the Serverless Framework.

[Demo](https://serverless-stripe-frontend-xlknvwjjlv.now.sh)

[Blog Post](https://yos.io/2017/06/22/serverless-stripe/)

## Setup

### Prerequisites

- Node.js & NPM
- Yarn
- [The Serverless Framework](https://serverless.com/framework/)

### Install dependencies

```
yarn
```

### Running Tests

```
yarn test
```

### Get Test coverage

```
yarn test:coverage
```

### Lint

```
yarn eslint
```

### Deploy

```
serverless deploy
```

## Configuration

Enter your configuration variables in `secrets.json`. Example:

```javascript
{
"stripeSecretKey": "sk_test_123"
}
```

You need:

- Your Stripe **secret key**

## Thanks

**serverless-stripe-backend** © 2017+, Yos Riady. Released under the [MIT] License.

Authored and maintained by Yos Riady with help from contributors ([list][contributors]).

> [yos.io](http://yos.io)  · 
> GitHub [@yosriady](https://github.com/yosriady)

[MIT]: http://mit-license.org/
[contributors]: http://github.com/yosriady/serverless-stripe-backend/contributors