E-commerce store built with Next.js and Stripe checkout by AlterClass.io.
-
Learn to build this application step-by-step by following the tutorial on AlterClass.
-
Preview the app live here.
-
Deploy the same app using Vercel:
git clone https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout
cd ecommerce-nextjs-stripe-checkout
npm install
Rename the .env.local.example
file in this directory to .env.local
(which will
be ignored by Git):
cp .env.local.example .env.local
Add your own values for all the environment variables.
To run your site locally, use:
npm run dev
To run it in production mode, use:
npm run build
npm run start