├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico └── index.html └── src ├── App.js ├── App.scss ├── assets └── images │ ├── error.png │ ├── slider-img-1.png │ ├── slider-img-2.png │ ├── slider-img-3.png │ └── spinner.svg ├── components ├── Category │ ├── Category.js │ └── Category.scss ├── Error │ ├── Error.js │ └── Error.scss ├── Footer │ ├── Footer.js │ └── Footer.scss ├── Loader │ ├── Loader.js │ └── Loader.scss ├── Navbar │ ├── Navbar.js │ └── Navbar.scss ├── ProductList │ ├── ProductList.js │ └── ProductList.scss ├── SingleCategory │ ├── SingleCategory.js │ └── SingleCategory.scss ├── SingleProduct │ ├── SingleProduct.js │ └── SingleProduct.scss └── Slider │ ├── Slider.js │ └── Slider.scss ├── index.js ├── pages ├── CartPage │ ├── CartPage.js │ └── CartPage.scss ├── CategoryPage │ ├── CategoryPage.js │ └── CategoryPage.scss ├── HomePage │ ├── HomePage.js │ └── HomePage.scss └── index.js ├── store ├── cartSlice.js ├── categorySlice.js ├── modalSlice.js ├── productSlice.js ├── sidebarSlice.js └── store.js └── utils ├── apiURL.js ├── helpers.js ├── images.js └── status.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/public/index.html -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/App.js -------------------------------------------------------------------------------- /src/App.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/App.scss -------------------------------------------------------------------------------- /src/assets/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/assets/images/error.png -------------------------------------------------------------------------------- /src/assets/images/slider-img-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/assets/images/slider-img-1.png -------------------------------------------------------------------------------- /src/assets/images/slider-img-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/assets/images/slider-img-2.png -------------------------------------------------------------------------------- /src/assets/images/slider-img-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/assets/images/slider-img-3.png -------------------------------------------------------------------------------- /src/assets/images/spinner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/assets/images/spinner.svg -------------------------------------------------------------------------------- /src/components/Category/Category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Category/Category.js -------------------------------------------------------------------------------- /src/components/Category/Category.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Category/Category.scss -------------------------------------------------------------------------------- /src/components/Error/Error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Error/Error.js -------------------------------------------------------------------------------- /src/components/Error/Error.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/Footer/Footer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Footer/Footer.js -------------------------------------------------------------------------------- /src/components/Footer/Footer.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Footer/Footer.scss -------------------------------------------------------------------------------- /src/components/Loader/Loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Loader/Loader.js -------------------------------------------------------------------------------- /src/components/Loader/Loader.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Loader/Loader.scss -------------------------------------------------------------------------------- /src/components/Navbar/Navbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Navbar/Navbar.js -------------------------------------------------------------------------------- /src/components/Navbar/Navbar.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Navbar/Navbar.scss -------------------------------------------------------------------------------- /src/components/ProductList/ProductList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/ProductList/ProductList.js -------------------------------------------------------------------------------- /src/components/ProductList/ProductList.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/ProductList/ProductList.scss -------------------------------------------------------------------------------- /src/components/SingleCategory/SingleCategory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/SingleCategory/SingleCategory.js -------------------------------------------------------------------------------- /src/components/SingleCategory/SingleCategory.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/SingleCategory/SingleCategory.scss -------------------------------------------------------------------------------- /src/components/SingleProduct/SingleProduct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/SingleProduct/SingleProduct.js -------------------------------------------------------------------------------- /src/components/SingleProduct/SingleProduct.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/SingleProduct/SingleProduct.scss -------------------------------------------------------------------------------- /src/components/Slider/Slider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Slider/Slider.js -------------------------------------------------------------------------------- /src/components/Slider/Slider.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/components/Slider/Slider.scss -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/index.js -------------------------------------------------------------------------------- /src/pages/CartPage/CartPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/pages/CartPage/CartPage.js -------------------------------------------------------------------------------- /src/pages/CartPage/CartPage.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/pages/CartPage/CartPage.scss -------------------------------------------------------------------------------- /src/pages/CategoryPage/CategoryPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/pages/CategoryPage/CategoryPage.js -------------------------------------------------------------------------------- /src/pages/CategoryPage/CategoryPage.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/pages/CategoryPage/CategoryPage.scss -------------------------------------------------------------------------------- /src/pages/HomePage/HomePage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/pages/HomePage/HomePage.js -------------------------------------------------------------------------------- /src/pages/HomePage/HomePage.scss: -------------------------------------------------------------------------------- 1 | .home-page{ 2 | min-height: 60vh; 3 | } -------------------------------------------------------------------------------- /src/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/pages/index.js -------------------------------------------------------------------------------- /src/store/cartSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/store/cartSlice.js -------------------------------------------------------------------------------- /src/store/categorySlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/store/categorySlice.js -------------------------------------------------------------------------------- /src/store/modalSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/store/modalSlice.js -------------------------------------------------------------------------------- /src/store/productSlice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/store/productSlice.js -------------------------------------------------------------------------------- /src/store/sidebarSlice.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/store/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/store/store.js -------------------------------------------------------------------------------- /src/utils/apiURL.js: -------------------------------------------------------------------------------- 1 | export const BASE_URL = `https://api.escuelajs.co/api/v1/`; -------------------------------------------------------------------------------- /src/utils/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/utils/helpers.js -------------------------------------------------------------------------------- /src/utils/images.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/utils/images.js -------------------------------------------------------------------------------- /src/utils/status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prabinmagar/shopping-hub-react-js-ecom-site-with-redux-toolkit/HEAD/src/utils/status.js --------------------------------------------------------------------------------