https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout
💰 🌱 E-commerce store built with Next.js and Stripe checkout
https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout
e-commerce javascript nextjs reactjs stripe stripe-api stripe-checkout tailwindcss
Last synced: 8 months ago
JSON representation
💰 🌱 E-commerce store built with Next.js and Stripe checkout
- Host: GitHub
- URL: https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout
- Owner: AlterClassIO
- License: mit
- Created: 2021-07-04T16:33:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-28T09:58:34.000Z (about 3 years ago)
- Last Synced: 2024-11-17T05:17:00.742Z (about 1 year ago)
- Topics: e-commerce, javascript, nextjs, reactjs, stripe, stripe-api, stripe-checkout, tailwindcss
- Language: JavaScript
- Homepage: http://myplantshop.vercel.app/
- Size: 1.53 MB
- Stars: 121
- Watchers: 4
- Forks: 58
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
E-commerce store built with Next.js and Stripe checkout by [AlterClass.io](https://alterclass.io).
- Learn to build this application step-by-step by following the tutorial on [AlterClass](https://alterclass.io/tutorials/create-an-ecommerce-website-with-nextjs-and-stripe).
- Preview the app live [here](https://myplantshop.vercel.app/).
- Deploy the same app using Vercel:
[](https://vercel.com/new/git/external?repository-url=https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout&project-name=eCommerce+Store+by+AlterClass&repository-name=eCommerce+Store+by+AlterClass)
## Getting Started
### 1. Clone the repository and install dependencies
```
git clone https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout
cd ecommerce-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
```
## License
[MIT](https://github.com/AlterClassIO/ecommerce-nextjs-stripe-checkout/blob/master/LICENSE)