├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── api │ └── checkout-sessions │ │ └── route.ts ├── cart │ └── page.tsx ├── checkout │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── page.tsx ├── product │ └── [id] │ │ └── page.tsx ├── search │ └── [query] │ │ └── page.tsx ├── signin │ └── page.tsx └── success │ └── page.tsx ├── components ├── AddToCardContainer.tsx ├── Cart.tsx ├── Checkout.tsx ├── DeliveryAddress.tsx ├── Header.tsx ├── HomePage.tsx ├── OrderSummary.tsx ├── ProccedToBuy.tsx ├── ProductCard.tsx ├── ReduxProvider.tsx ├── SearchResult.tsx ├── ShoppingCart.tsx ├── Signin.tsx ├── SingleProduct.tsx ├── Success.tsx └── shared │ ├── CategoryWiseProduct.tsx │ ├── Ratings.tsx │ └── Subtotal.tsx ├── lib └── supabase │ ├── hooks │ ├── redux.ts │ └── useSupabase.ts │ └── products.tsx ├── next.config.mjs ├── package.json ├── postcss.config.js ├── public ├── amazon-logo-2.webp ├── amazon-logo.png ├── next.svg ├── prime-logo.png ├── star-icon.png └── vercel.svg ├── redux ├── cartSlice.ts └── index.ts ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/README.md -------------------------------------------------------------------------------- /app/api/checkout-sessions/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/api/checkout-sessions/route.ts -------------------------------------------------------------------------------- /app/cart/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/cart/page.tsx -------------------------------------------------------------------------------- /app/checkout/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/checkout/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/product/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/product/[id]/page.tsx -------------------------------------------------------------------------------- /app/search/[query]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/search/[query]/page.tsx -------------------------------------------------------------------------------- /app/signin/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/signin/page.tsx -------------------------------------------------------------------------------- /app/success/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/app/success/page.tsx -------------------------------------------------------------------------------- /components/AddToCardContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/AddToCardContainer.tsx -------------------------------------------------------------------------------- /components/Cart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/Cart.tsx -------------------------------------------------------------------------------- /components/Checkout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/Checkout.tsx -------------------------------------------------------------------------------- /components/DeliveryAddress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/DeliveryAddress.tsx -------------------------------------------------------------------------------- /components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/Header.tsx -------------------------------------------------------------------------------- /components/HomePage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/HomePage.tsx -------------------------------------------------------------------------------- /components/OrderSummary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/OrderSummary.tsx -------------------------------------------------------------------------------- /components/ProccedToBuy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/ProccedToBuy.tsx -------------------------------------------------------------------------------- /components/ProductCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/ProductCard.tsx -------------------------------------------------------------------------------- /components/ReduxProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/ReduxProvider.tsx -------------------------------------------------------------------------------- /components/SearchResult.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/SearchResult.tsx -------------------------------------------------------------------------------- /components/ShoppingCart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/ShoppingCart.tsx -------------------------------------------------------------------------------- /components/Signin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/Signin.tsx -------------------------------------------------------------------------------- /components/SingleProduct.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/SingleProduct.tsx -------------------------------------------------------------------------------- /components/Success.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/Success.tsx -------------------------------------------------------------------------------- /components/shared/CategoryWiseProduct.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/shared/CategoryWiseProduct.tsx -------------------------------------------------------------------------------- /components/shared/Ratings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/shared/Ratings.tsx -------------------------------------------------------------------------------- /components/shared/Subtotal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/components/shared/Subtotal.tsx -------------------------------------------------------------------------------- /lib/supabase/hooks/redux.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/lib/supabase/hooks/redux.ts -------------------------------------------------------------------------------- /lib/supabase/hooks/useSupabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/lib/supabase/hooks/useSupabase.ts -------------------------------------------------------------------------------- /lib/supabase/products.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/lib/supabase/products.tsx -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/amazon-logo-2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/public/amazon-logo-2.webp -------------------------------------------------------------------------------- /public/amazon-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/public/amazon-logo.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/prime-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/public/prime-logo.png -------------------------------------------------------------------------------- /public/star-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/public/star-icon.png -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /redux/cartSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/redux/cartSlice.ts -------------------------------------------------------------------------------- /redux/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/redux/index.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surendrakumarpatel/amazon-clone/HEAD/tsconfig.json --------------------------------------------------------------------------------