Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 932 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 932 Bytes

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.

Getting Started

1. Clone the repository and install dependencies

git clone https://github.com/top-web-developer/Nextjs-stripe-checkout
cd Nextjs-stripe-checkout
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):

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:

npm run dev

To run it in production mode, use:

npm run build
npm run start