Headphones Store is an e-commerce application to sell headphones, built with Next.js, ContextAPI, Sanity CMS.
Clone down this repository. You will need node
and npm
installed globally on your machine.
Clone the repo:
git clone https://github.com/el-sherbini/Headphones-Store.git
Run terminal command:
npm install
cd sanity_ecommerce
npm install
Enter your Environment Variables in .env
file, you can get them from here.
NEXT_PUBLIC_SANITY_PROJECT_ID = 'ENTER YOUR SANITY PROJECT ID'
NEXT_PUBLIC_SANITY_DATASET_NAME = 'ENTER YOUR SANITY DATASET NAME'
NEXT_PUBLIC_SANITY_TOKEN = 'ENTER YOUR SANITY TOKEN'
npm run dev
localhost:3000
- Next.js
- ContextAPI
- Sanity CMS
- React-hot-toast
- React-icons
- Responsive layout
- Sale product advertiement
- Products listing
- Single product page
- Other products listing in product page
- ShopCart
- Payment success page