Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumitkharche/nextjs-ecommerce-website
Blazing fast e-commerce store built using Next JS that utilizes the power of Cosmic JS & Snipcart
https://github.com/sumitkharche/nextjs-ecommerce-website
Last synced: 2 days ago
JSON representation
Blazing fast e-commerce store built using Next JS that utilizes the power of Cosmic JS & Snipcart
- Host: GitHub
- URL: https://github.com/sumitkharche/nextjs-ecommerce-website
- Owner: sumitkharche
- Created: 2019-12-02T19:27:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:10:52.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T05:13:46.013Z (3 months ago)
- Language: JavaScript
- Homepage: https://nextjs-ecommerce-website.netlify.com/
- Size: 1.6 MB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - nextjs-ecommerce-website - Blazing fast e-commerce store built using Next JS that utilizes the power of Cosmic JS & Snipcart (JavaScript)
README
# Cosmic JS & Snipcart E-commerce Store
![nextjs-ecommerce-website](public/e-commerce-website.png "The index page of the e-commerce store")
![nextjs-ecommerce-website](public/e-commerce-website-2.png "The cart window of the e-commerce store")
> This repo contains an example e-commerce store that is built with [Next.JS](https://nextjs.org/), [Cosmic JS](https://www.cosmicjs.com) and [Snipcart](https://snipcart.com/).
### [View Demo](https://nextjs-ecommerce-website.netlify.com/)
## Prerequisites
- Node (I recommend using latest version)
- Cosmic JS account
- Snipcart account## Getting Started
``` bash
git clone https://github.com/sumitkharche/nextjs-ecommerce-website.git
cd nextjs-ecommerce-website
npm install or yarn install
```
### Keys
In config.js file,
- update your Cosmic JS bucket slug and read key.
- update your Snipcart api key.### Run
``` bash
npm run dev
```
Open http://localhost:3000.### Production
``` bash
npm run build & npm run start
```