├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.js ├── components │ ├── StripeCheckout.js │ ├── cards │ │ ├── AdminProductCard.js │ │ ├── Jumbotron.js │ │ ├── LoadingCard.js │ │ ├── ProductCard.js │ │ ├── ProductCardInCheckout.js │ │ ├── ProductListItems.js │ │ ├── ShowPaymentInfo.js │ │ └── SingleProduct.js │ ├── category │ │ └── CategoryList.js │ ├── drawer │ │ └── SideDrawer.js │ ├── forms │ │ ├── CategoryForm.js │ │ ├── FileUpload.js │ │ ├── LocalSearch.js │ │ ├── ProductCreateForm.js │ │ ├── ProductUpdateForm.js │ │ ├── Search.js │ │ └── Star.js │ ├── home │ │ ├── BestSellers.js │ │ └── NewArrivals.js │ ├── modal │ │ └── RatingModal.js │ ├── nav │ │ ├── AdminNav.js │ │ ├── Header.js │ │ └── UserNav.js │ ├── order │ │ ├── Invoice.js │ │ └── Orders.js │ ├── routes │ │ ├── AdminRoute.js │ │ ├── LoadingToRedirect.js │ │ └── UserRoute.js │ └── sub │ │ └── SubList.js ├── firebase.js ├── functions │ ├── admin.js │ ├── auth.js │ ├── category.js │ ├── coupon.js │ ├── product.js │ ├── rating.js │ ├── stripe.js │ ├── sub.js │ └── user.js ├── images │ └── laptop.png ├── index.css ├── index.js ├── logo.svg ├── pages │ ├── Cart.js │ ├── Checkout.js │ ├── Home.js │ ├── Payment.js │ ├── Product.js │ ├── Shop.js │ ├── admin │ │ ├── AdminDashboard.js │ │ ├── category │ │ │ ├── CategoryCreate.js │ │ │ └── CategoryUpdate.js │ │ ├── coupon │ │ │ └── CreateCouponPage.js │ │ ├── product │ │ │ ├── AllProducts.js │ │ │ ├── ProductCreate.js │ │ │ └── ProductUpdate.js │ │ └── sub │ │ │ ├── SubCreate.js │ │ │ └── SubUpdate.js │ ├── auth │ │ ├── ForgotPassword.js │ │ ├── Login.js │ │ ├── Register.js │ │ └── RegisterComplete.js │ ├── category │ │ └── CategoryHome.js │ ├── sub │ │ └── SubHome.js │ └── user │ │ ├── History.js │ │ ├── Password.js │ │ └── Wishlist.js ├── reducers │ ├── CODReducer.js │ ├── cartReducer.js │ ├── couponReducer.js │ ├── drawerReducer.js │ ├── index.js │ ├── searchReducer.js │ └── userReducer.js ├── serviceWorker.js └── stripe.css └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/App.js -------------------------------------------------------------------------------- /src/components/StripeCheckout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/StripeCheckout.js -------------------------------------------------------------------------------- /src/components/cards/AdminProductCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/AdminProductCard.js -------------------------------------------------------------------------------- /src/components/cards/Jumbotron.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/Jumbotron.js -------------------------------------------------------------------------------- /src/components/cards/LoadingCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/LoadingCard.js -------------------------------------------------------------------------------- /src/components/cards/ProductCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/ProductCard.js -------------------------------------------------------------------------------- /src/components/cards/ProductCardInCheckout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/ProductCardInCheckout.js -------------------------------------------------------------------------------- /src/components/cards/ProductListItems.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/ProductListItems.js -------------------------------------------------------------------------------- /src/components/cards/ShowPaymentInfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/ShowPaymentInfo.js -------------------------------------------------------------------------------- /src/components/cards/SingleProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/cards/SingleProduct.js -------------------------------------------------------------------------------- /src/components/category/CategoryList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/category/CategoryList.js -------------------------------------------------------------------------------- /src/components/drawer/SideDrawer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/drawer/SideDrawer.js -------------------------------------------------------------------------------- /src/components/forms/CategoryForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/CategoryForm.js -------------------------------------------------------------------------------- /src/components/forms/FileUpload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/FileUpload.js -------------------------------------------------------------------------------- /src/components/forms/LocalSearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/LocalSearch.js -------------------------------------------------------------------------------- /src/components/forms/ProductCreateForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/ProductCreateForm.js -------------------------------------------------------------------------------- /src/components/forms/ProductUpdateForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/ProductUpdateForm.js -------------------------------------------------------------------------------- /src/components/forms/Search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/Search.js -------------------------------------------------------------------------------- /src/components/forms/Star.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/forms/Star.js -------------------------------------------------------------------------------- /src/components/home/BestSellers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/home/BestSellers.js -------------------------------------------------------------------------------- /src/components/home/NewArrivals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/home/NewArrivals.js -------------------------------------------------------------------------------- /src/components/modal/RatingModal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/modal/RatingModal.js -------------------------------------------------------------------------------- /src/components/nav/AdminNav.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/nav/AdminNav.js -------------------------------------------------------------------------------- /src/components/nav/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/nav/Header.js -------------------------------------------------------------------------------- /src/components/nav/UserNav.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/nav/UserNav.js -------------------------------------------------------------------------------- /src/components/order/Invoice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/order/Invoice.js -------------------------------------------------------------------------------- /src/components/order/Orders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/order/Orders.js -------------------------------------------------------------------------------- /src/components/routes/AdminRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/routes/AdminRoute.js -------------------------------------------------------------------------------- /src/components/routes/LoadingToRedirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/routes/LoadingToRedirect.js -------------------------------------------------------------------------------- /src/components/routes/UserRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/routes/UserRoute.js -------------------------------------------------------------------------------- /src/components/sub/SubList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/components/sub/SubList.js -------------------------------------------------------------------------------- /src/firebase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/firebase.js -------------------------------------------------------------------------------- /src/functions/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/admin.js -------------------------------------------------------------------------------- /src/functions/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/auth.js -------------------------------------------------------------------------------- /src/functions/category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/category.js -------------------------------------------------------------------------------- /src/functions/coupon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/coupon.js -------------------------------------------------------------------------------- /src/functions/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/product.js -------------------------------------------------------------------------------- /src/functions/rating.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/rating.js -------------------------------------------------------------------------------- /src/functions/stripe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/stripe.js -------------------------------------------------------------------------------- /src/functions/sub.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/sub.js -------------------------------------------------------------------------------- /src/functions/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/functions/user.js -------------------------------------------------------------------------------- /src/images/laptop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/images/laptop.png -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/pages/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/Cart.js -------------------------------------------------------------------------------- /src/pages/Checkout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/Checkout.js -------------------------------------------------------------------------------- /src/pages/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/Home.js -------------------------------------------------------------------------------- /src/pages/Payment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/Payment.js -------------------------------------------------------------------------------- /src/pages/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/Product.js -------------------------------------------------------------------------------- /src/pages/Shop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/Shop.js -------------------------------------------------------------------------------- /src/pages/admin/AdminDashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/AdminDashboard.js -------------------------------------------------------------------------------- /src/pages/admin/category/CategoryCreate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/category/CategoryCreate.js -------------------------------------------------------------------------------- /src/pages/admin/category/CategoryUpdate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/category/CategoryUpdate.js -------------------------------------------------------------------------------- /src/pages/admin/coupon/CreateCouponPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/coupon/CreateCouponPage.js -------------------------------------------------------------------------------- /src/pages/admin/product/AllProducts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/product/AllProducts.js -------------------------------------------------------------------------------- /src/pages/admin/product/ProductCreate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/product/ProductCreate.js -------------------------------------------------------------------------------- /src/pages/admin/product/ProductUpdate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/product/ProductUpdate.js -------------------------------------------------------------------------------- /src/pages/admin/sub/SubCreate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/sub/SubCreate.js -------------------------------------------------------------------------------- /src/pages/admin/sub/SubUpdate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/admin/sub/SubUpdate.js -------------------------------------------------------------------------------- /src/pages/auth/ForgotPassword.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/auth/ForgotPassword.js -------------------------------------------------------------------------------- /src/pages/auth/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/auth/Login.js -------------------------------------------------------------------------------- /src/pages/auth/Register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/auth/Register.js -------------------------------------------------------------------------------- /src/pages/auth/RegisterComplete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/auth/RegisterComplete.js -------------------------------------------------------------------------------- /src/pages/category/CategoryHome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/category/CategoryHome.js -------------------------------------------------------------------------------- /src/pages/sub/SubHome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/sub/SubHome.js -------------------------------------------------------------------------------- /src/pages/user/History.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/user/History.js -------------------------------------------------------------------------------- /src/pages/user/Password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/user/Password.js -------------------------------------------------------------------------------- /src/pages/user/Wishlist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/pages/user/Wishlist.js -------------------------------------------------------------------------------- /src/reducers/CODReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/CODReducer.js -------------------------------------------------------------------------------- /src/reducers/cartReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/cartReducer.js -------------------------------------------------------------------------------- /src/reducers/couponReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/couponReducer.js -------------------------------------------------------------------------------- /src/reducers/drawerReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/drawerReducer.js -------------------------------------------------------------------------------- /src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/index.js -------------------------------------------------------------------------------- /src/reducers/searchReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/searchReducer.js -------------------------------------------------------------------------------- /src/reducers/userReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/reducers/userReducer.js -------------------------------------------------------------------------------- /src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/serviceWorker.js -------------------------------------------------------------------------------- /src/stripe.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/src/stripe.css -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaloraat/react-ecommerce-front/HEAD/yarn.lock --------------------------------------------------------------------------------