├── models ├── Order.js ├── ProductSchema.js └── UserSchema.js ├── components ├── Footer │ ├── Footer.css │ └── Footer.jsx ├── sidebar │ ├── Style.module.css │ ├── static │ │ └── data.js │ └── Sidebar.jsx ├── bestseller │ ├── BestSellers.module.css │ ├── BestSellers.jsx │ └── static │ │ └── bestSellerdata.js ├── herosection │ ├── Herosection.module.css │ └── Herosection.jsx ├── productCard │ ├── Card.module.css │ └── Card.jsx ├── productcard_landscape │ ├── styles.module.css │ ├── checkUser.js │ ├── ProductCardLandscape.jsx │ └── Buttondiv.jsx ├── navbar │ ├── cartcirlce │ │ └── CartCircle.jsx │ ├── Navbar.module.css │ ├── dropdown │ │ ├── Dropdown.jsx │ │ └── Dropdown.module.css │ ├── authbutton │ │ └── AuthButton.jsx │ └── Navbar.jsx ├── productsection │ └── Product.jsx └── auth │ ├── authRegex.js │ ├── authLogic.js │ ├── Auth.module.css │ └── Auth.jsx ├── styles ├── Login.module.css ├── ProductsBanner.module.css ├── globals.css ├── SingleProduct.module.css ├── tshirts.module.css ├── Cart.module.css ├── Payment.module.css └── Home.module.css ├── public ├── cc.png ├── favicon.ico ├── fonts │ └── Poppins.ttf ├── assets │ ├── Landing │ │ ├── Cat1.png │ │ ├── Cat2.jpg │ │ ├── Cat2.png │ │ ├── Cat3.png │ │ ├── Cat1Mobile.png │ │ ├── Cat2Mobile.png │ │ ├── Cat3Mobile.png │ │ ├── linuxhoodie.png │ │ ├── LandingBanner.png │ │ ├── LandingBanner2.png │ │ ├── LandingBanner3.png │ │ ├── ShopNowButton.png │ │ ├── whitefcoder1.webp │ │ ├── ShopCodersBanner.png │ │ └── newsletterbanner1.png │ ├── auth │ │ ├── gg_logo.png │ │ ├── gh_logo.png │ │ └── authbanner.png │ ├── brands │ │ ├── logi.png │ │ ├── razer.png │ │ └── antesports.png │ ├── cart │ │ └── deleteicon.png │ ├── Products │ │ ├── monitor │ │ │ ├── m1.png │ │ │ ├── m2.png │ │ │ ├── m3.png │ │ │ ├── m4.png │ │ │ └── m5.png │ │ ├── productbg.png │ │ ├── caps │ │ │ ├── gh_cap1.webp │ │ │ ├── gh_cap2.jpg │ │ │ └── gh_cap3.webp │ │ ├── keyboards │ │ │ ├── k1.png │ │ │ ├── k2.png │ │ │ ├── k3.png │ │ │ ├── k4.png │ │ │ └── k5.png │ │ ├── Shirt │ │ │ ├── GH_shirt1.webp │ │ │ ├── GH_shirt2.webp │ │ │ ├── GH_shirt3.webp │ │ │ ├── GH_shirt4.webp │ │ │ └── GH_shirt5.webp │ │ ├── Hoodies │ │ │ ├── Gh_hoodie1.webp │ │ │ └── Gh_hoodie2.webp │ │ └── misc │ │ │ └── cart.svg │ ├── Singleproduct │ │ ├── minus.png │ │ └── plus.png │ └── navbar │ │ ├── bag.svg │ │ ├── up.svg │ │ ├── navlogo.svg │ │ └── ham.svg ├── vercel.svg ├── thirteen.svg └── next.svg ├── postcss.config.js ├── jsconfig.json ├── app ├── monitors │ ├── styles.module.css │ ├── [id] │ │ └── page.jsx │ └── page.jsx ├── swags │ ├── styles.module.css │ ├── [id] │ │ └── page.jsx │ └── page.jsx ├── keyboards │ ├── styles.module.css │ ├── [id] │ │ └── page.jsx │ └── page.jsx ├── layout.jsx ├── globals.css ├── page.jsx ├── paymentsucess │ └── page.jsx └── cart │ └── page.jsx ├── services ├── GetStripe.js └── shopApi.js ├── SECURITY.md ├── middleware ├── db.js └── toastMessage.js ├── next.config.js ├── pages └── api │ ├── user │ ├── viewalluser.js │ ├── usertest.js │ ├── loginuser.js │ ├── adduser.js │ ├── resetcart.js │ ├── removefromcart.js │ ├── reducecartitems.js │ ├── viewuserdetails.js │ └── addtocart.js │ ├── hello.js │ ├── products │ ├── bestseller.js │ ├── viewproductbyid copy.js │ ├── fetchproduct.js │ ├── viewproductbyid.js │ ├── viewallproducts.js │ ├── addproduct.js │ └── addproductstocart.js │ ├── stripe.js │ ├── auth │ └── [...nextauth].js │ └── stripecart.js ├── global ├── StoreInitializer.js └── store.js ├── .gitignore ├── tailwind.config.js ├── package.json ├── LICENSE ├── CONTRIBUTING.md ├── README.md └── CODE_OF_CONDUCT.md /models/Order.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/Footer/Footer.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/sidebar/Style.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/bestseller/BestSellers.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /styles/Login.module.css: -------------------------------------------------------------------------------- 1 | .login_mainparent { 2 | padding: 10px 80px; 3 | } -------------------------------------------------------------------------------- /public/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/cc.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/fonts/Poppins.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/fonts/Poppins.ttf -------------------------------------------------------------------------------- /public/assets/Landing/Cat1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat1.png -------------------------------------------------------------------------------- /public/assets/Landing/Cat2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat2.jpg -------------------------------------------------------------------------------- /public/assets/Landing/Cat2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat2.png -------------------------------------------------------------------------------- /public/assets/Landing/Cat3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat3.png -------------------------------------------------------------------------------- /public/assets/auth/gg_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/auth/gg_logo.png -------------------------------------------------------------------------------- /public/assets/auth/gh_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/auth/gh_logo.png -------------------------------------------------------------------------------- /public/assets/brands/logi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/brands/logi.png -------------------------------------------------------------------------------- /public/assets/brands/razer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/brands/razer.png -------------------------------------------------------------------------------- /public/assets/auth/authbanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/auth/authbanner.png -------------------------------------------------------------------------------- /public/assets/cart/deleteicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/cart/deleteicon.png -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /public/assets/brands/antesports.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/brands/antesports.png -------------------------------------------------------------------------------- /public/assets/Landing/Cat1Mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat1Mobile.png -------------------------------------------------------------------------------- /public/assets/Landing/Cat2Mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat2Mobile.png -------------------------------------------------------------------------------- /public/assets/Landing/Cat3Mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/Cat3Mobile.png -------------------------------------------------------------------------------- /public/assets/Landing/linuxhoodie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/linuxhoodie.png -------------------------------------------------------------------------------- /public/assets/Products/monitor/m1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/monitor/m1.png -------------------------------------------------------------------------------- /public/assets/Products/monitor/m2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/monitor/m2.png -------------------------------------------------------------------------------- /public/assets/Products/monitor/m3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/monitor/m3.png -------------------------------------------------------------------------------- /public/assets/Products/monitor/m4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/monitor/m4.png -------------------------------------------------------------------------------- /public/assets/Products/monitor/m5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/monitor/m5.png -------------------------------------------------------------------------------- /public/assets/Products/productbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/productbg.png -------------------------------------------------------------------------------- /public/assets/Singleproduct/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Singleproduct/minus.png -------------------------------------------------------------------------------- /public/assets/Singleproduct/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Singleproduct/plus.png -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "paths": { 5 | "@/*": ["./*"] 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /public/assets/Landing/LandingBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/LandingBanner.png -------------------------------------------------------------------------------- /public/assets/Landing/LandingBanner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/LandingBanner2.png -------------------------------------------------------------------------------- /public/assets/Landing/LandingBanner3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/LandingBanner3.png -------------------------------------------------------------------------------- /public/assets/Landing/ShopNowButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/ShopNowButton.png -------------------------------------------------------------------------------- /public/assets/Landing/whitefcoder1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/whitefcoder1.webp -------------------------------------------------------------------------------- /public/assets/Products/caps/gh_cap1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/caps/gh_cap1.webp -------------------------------------------------------------------------------- /public/assets/Products/caps/gh_cap2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/caps/gh_cap2.jpg -------------------------------------------------------------------------------- /public/assets/Products/caps/gh_cap3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/caps/gh_cap3.webp -------------------------------------------------------------------------------- /public/assets/Products/keyboards/k1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/keyboards/k1.png -------------------------------------------------------------------------------- /public/assets/Products/keyboards/k2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/keyboards/k2.png -------------------------------------------------------------------------------- /public/assets/Products/keyboards/k3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/keyboards/k3.png -------------------------------------------------------------------------------- /public/assets/Products/keyboards/k4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/keyboards/k4.png -------------------------------------------------------------------------------- /public/assets/Products/keyboards/k5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/keyboards/k5.png -------------------------------------------------------------------------------- /public/assets/Landing/ShopCodersBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/ShopCodersBanner.png -------------------------------------------------------------------------------- /public/assets/Landing/newsletterbanner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Landing/newsletterbanner1.png -------------------------------------------------------------------------------- /public/assets/Products/Shirt/GH_shirt1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Shirt/GH_shirt1.webp -------------------------------------------------------------------------------- /public/assets/Products/Shirt/GH_shirt2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Shirt/GH_shirt2.webp -------------------------------------------------------------------------------- /public/assets/Products/Shirt/GH_shirt3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Shirt/GH_shirt3.webp -------------------------------------------------------------------------------- /public/assets/Products/Shirt/GH_shirt4.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Shirt/GH_shirt4.webp -------------------------------------------------------------------------------- /public/assets/Products/Shirt/GH_shirt5.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Shirt/GH_shirt5.webp -------------------------------------------------------------------------------- /public/assets/Products/Hoodies/Gh_hoodie1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Hoodies/Gh_hoodie1.webp -------------------------------------------------------------------------------- /public/assets/Products/Hoodies/Gh_hoodie2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tamalCodes/ShopCoders/HEAD/public/assets/Products/Hoodies/Gh_hoodie2.webp -------------------------------------------------------------------------------- /components/Footer/Footer.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const Footer = () => { 4 | return ( 5 |
⭐⭐⭐⭐⭐
19 | 20 | 21 |₹{" "} {item.productPrice}
23 |Shop now at CoderCrate,
the ultimate place for your coding needs.
Save more with coupons & up to 70% off for black friday sale !
41 | 42 | 43 | 44 | //Hi {session?.user?.name.split(" ")[0]},
your order has been made 🎉
You can track it in our {
44 | handleResetCart();
45 | }}>orders page. Keep shopping !
{item.name}
37 |{item}
55 |50 | {product.productDescription} 51 |
52 | 53 |54 | {" "} 55 | ₹ {product.productPrice} 56 |
57 | 58 |59 | Available qty : {product.productQty}{" "} 60 |
61 | 62 |30 | CoderCrate 31 |
32 |{purchasedQty}
173 | 174 |{product.productDescription}
*/} 154 | 155 |Unit price:{" "} 156 | ₹ {product.productPrice} 157 |
158 | 159 |Quantity: {product.purchasedQty}
161 | {product.purchasedQty > 1 && ( 162 |₹ {product.totalPrice}
177 | 178 |