saleor / example-nextjs-stripe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saleor Next.js Stripe Example

A minimalistic example of using Saleor with Stripe.


stripe-saleor.mp4

Quickstart

  1. Clone this repository
  2. Create .env file based on .env.example:
cp .env.example .env
  1. Replace the SALEOR_API_URL environment variable with the address of your Saleor GraphQL endpoint.

  2. Make sure your Saleor instance has the Saleor Stripe App installed and configured.

  3. Install the dependencies:

pnpm i
  1. Generate the types based on GraphQL schema:
pnpm generate
  1. Start the development server:
pnpm dev

About


Languages

Language:TypeScript 90.3%Language:CSS 7.3%Language:JavaScript 2.5%