项目作者: AlterClassIO

项目描述 :
💰 🌱 E-commerce store built with Next.js and Stripe checkout
高级语言: JavaScript
项目地址: git://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout.git
创建时间: 2021-07-04T16:33:56Z
项目社区:https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout

开源协议:MIT License

下载


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:

Deploy with Vercel

Getting Started

1. Clone the repository and install dependencies

  1. git clone https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout
  2. cd ecommerce-nextjs-stripe-checkout
  3. npm install

2. Configure your local environment

Rename the .env.local.example file in this directory to .env.local (which will
be ignored by Git):

  1. cp .env.local.example .env.local

Add your own values for all the environment variables.

3. Start the application

To run your site locally, use:

  1. npm run dev

To run it in production mode, use:

  1. npm run build
  2. npm run start

License

MIT