Frontend application for `serverless-stripe-backend` written in Next.js & React
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Serverless Stripe frontend

The frontend for a serverless stripe application. Built with Next.js and React.

Demo

Blog Post

Setup

Install dependencies

yarn

Run locally

yarn dev

Configuration

Enter your configuration variables in config.js. Example:

const config = {
  stripe: {
    apiKey: 'pk_test_SG9qh1GK5AiTycr7x4t3L9p6',
    apiUrl: 'https://i79u9jwadj.execute-api.us-east-1.amazonaws.com/dev/charges',
  },
};

export default config;

You need:

  • Your Stripe publishable key
  • Your backend's HTTP API endpoint url

Thanks

serverless-stripe-frontend © 2017+, Yos Riady. Released under the MIT License.
Authored and maintained by Yos Riady with help from contributors (list).

yos.io  ·  GitHub @yosriady