Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 11 days ago
JSON representation

Serverless payments built on AWS Lambda & the Serverless framework

Awesome Lists containing this project

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