Skip to content

andrewjamesford/shop-nextjs-stripe

Repository files navigation

Example of an E-commerce shop using Next.js and Stripe

This is an example of an E-commerce shop that uses the stripe.js library and Next.js.

To build this yourself follow the instructions on andrewford.co.nz.

Create an environment variable file called .env.local and add the following, adding your own Stripe keys:

STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
HOST=http://localhost:3000

Introduction

Video - Introduction

Article - Introduction