├── .gitignore ├── README.md ├── package.json ├── public ├── africa.png ├── images │ ├── africa.png │ ├── arachide.png │ ├── bg.jpg │ ├── bg.png │ ├── bgr.png │ ├── bobolos.png │ ├── desktop.ini │ ├── diversity.png │ ├── divine.png │ ├── looking_shop.png │ ├── manioc.png │ ├── max.png │ ├── nkui.png │ ├── ohg.png │ ├── okok.png │ ├── palmoil.png │ ├── quatrecote.png │ ├── rondelle.png │ ├── s1.png │ ├── s10.png │ ├── s11.png │ ├── s12.png │ ├── s13.png │ ├── s14.png │ ├── s15.png │ ├── s16.png │ ├── s17.png │ ├── s18.png │ ├── s19.png │ ├── s2.png │ ├── s20.png │ ├── s21.png │ ├── s3.png │ ├── s4.png │ ├── s5.jpg │ ├── s6.png │ ├── s7.png │ ├── s8.png │ ├── s9.png │ ├── shop.png │ ├── shop_open.png │ └── yam.png ├── index.html ├── manifest.json └── robots.txt └── src ├── App.js ├── actions ├── cartActions.js ├── orderActions.js ├── productActions.js ├── shopActions.js └── userActions.js ├── bootstrap.min.css ├── components ├── CheckoutSteps.js ├── Footer.js ├── FormContainer.js ├── Header.js ├── Loader.js ├── Message.js ├── Paginate.js ├── PaginateShop.js ├── Product.js ├── ProductCarousel.js ├── Rating.js ├── SearchProduct.js ├── SearchShop.js ├── Shop.js └── ShopCarousel.js ├── constants ├── cartConstants.js ├── orderConstants.js ├── productConstants.js ├── shopConstants.js └── userConstants.js ├── index.css ├── index.js ├── products.js ├── reducers ├── cartReducers.js ├── orderReducers.js ├── productReducers.js ├── shopReducers.js └── userReducers.js ├── reportWebVitals.js ├── screens ├── CartScreen.js ├── GrowBusinessScreen.js ├── HomeProductScreen.js ├── HomeScreen.js ├── IndexSearchScreen.js ├── Index_Screen.js ├── LoginScreen.js ├── OpenYourStoreScreen.js ├── OrderListScreen.js ├── OrderScreen.js ├── PaymentScreen.js ├── PlaceOrderScreen.js ├── ProductEditScreen.js ├── ProductListScreen.js ├── ProductScreen.js ├── ProfileScreen.js ├── RegisterScreen.js ├── ResultProductScreen.js ├── ResultShopScreen.js ├── ShippingScreen.js ├── ShopScreen.js ├── UserEditScreen.js └── UserListScreen.js ├── shops.js └── store.js /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React eCommerce Frontend 2 | 3 | In the project directory, you can run: 4 | 5 | ### `npm install` 6 | ### `npm start` 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "proxy": "http://127.0.0.1:8000", 4 | "version": "0.1.0", 5 | "private": true, 6 | "dependencies": { 7 | "@testing-library/jest-dom": "^5.11.9", 8 | "@testing-library/react": "^11.2.5", 9 | "@testing-library/user-event": "^12.8.3", 10 | "axios": "^0.21.1", 11 | "moment": "^2.29.1", 12 | "react": "^17.0.2", 13 | "react-bootstrap": "^1.5.2", 14 | "react-dom": "^17.0.2", 15 | "react-native": "^0.64.0", 16 | "react-native-web": "^0.15.0", 17 | "react-paypal-button-v2": "^2.6.3", 18 | "react-redux": "^7.2.3", 19 | "react-router-bootstrap": "^0.25.0", 20 | "react-router-dom": "^5.2.0", 21 | "react-scripts": "4.0.3", 22 | "redux": "^4.0.5", 23 | "redux-devtools-extension": "^2.13.9", 24 | "redux-thunk": "^2.3.0", 25 | "web-vitals": "^1.1.1" 26 | }, 27 | "scripts": { 28 | "start": "react-scripts start", 29 | "build": "react-scripts build", 30 | "test": "react-scripts test", 31 | "eject": "react-scripts eject" 32 | }, 33 | "eslintConfig": { 34 | "extends": [ 35 | "react-app", 36 | "react-app/jest" 37 | ] 38 | }, 39 | "browserslist": { 40 | "production": [ 41 | ">0.2%", 42 | "not dead", 43 | "not op_mini all" 44 | ], 45 | "development": [ 46 | "last 1 chrome version", 47 | "last 1 firefox version", 48 | "last 1 safari version" 49 | ] 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /public/africa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/africa.png -------------------------------------------------------------------------------- /public/images/africa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/africa.png -------------------------------------------------------------------------------- /public/images/arachide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/arachide.png -------------------------------------------------------------------------------- /public/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/bg.jpg -------------------------------------------------------------------------------- /public/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/bg.png -------------------------------------------------------------------------------- /public/images/bgr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/bgr.png -------------------------------------------------------------------------------- /public/images/bobolos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/bobolos.png -------------------------------------------------------------------------------- /public/images/desktop.ini: -------------------------------------------------------------------------------- 1 | [.ShellClassInfo] 2 | LocalizedResourceName=image 3 | -------------------------------------------------------------------------------- /public/images/diversity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/diversity.png -------------------------------------------------------------------------------- /public/images/divine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/divine.png -------------------------------------------------------------------------------- /public/images/looking_shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/looking_shop.png -------------------------------------------------------------------------------- /public/images/manioc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/manioc.png -------------------------------------------------------------------------------- /public/images/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/max.png -------------------------------------------------------------------------------- /public/images/nkui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/nkui.png -------------------------------------------------------------------------------- /public/images/ohg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/ohg.png -------------------------------------------------------------------------------- /public/images/okok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/okok.png -------------------------------------------------------------------------------- /public/images/palmoil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/palmoil.png -------------------------------------------------------------------------------- /public/images/quatrecote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/quatrecote.png -------------------------------------------------------------------------------- /public/images/rondelle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/rondelle.png -------------------------------------------------------------------------------- /public/images/s1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s1.png -------------------------------------------------------------------------------- /public/images/s10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s10.png -------------------------------------------------------------------------------- /public/images/s11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s11.png -------------------------------------------------------------------------------- /public/images/s12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s12.png -------------------------------------------------------------------------------- /public/images/s13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s13.png -------------------------------------------------------------------------------- /public/images/s14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s14.png -------------------------------------------------------------------------------- /public/images/s15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s15.png -------------------------------------------------------------------------------- /public/images/s16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s16.png -------------------------------------------------------------------------------- /public/images/s17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s17.png -------------------------------------------------------------------------------- /public/images/s18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s18.png -------------------------------------------------------------------------------- /public/images/s19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s19.png -------------------------------------------------------------------------------- /public/images/s2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s2.png -------------------------------------------------------------------------------- /public/images/s20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s20.png -------------------------------------------------------------------------------- /public/images/s21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s21.png -------------------------------------------------------------------------------- /public/images/s3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s3.png -------------------------------------------------------------------------------- /public/images/s4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s4.png -------------------------------------------------------------------------------- /public/images/s5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s5.jpg -------------------------------------------------------------------------------- /public/images/s6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s6.png -------------------------------------------------------------------------------- /public/images/s7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s7.png -------------------------------------------------------------------------------- /public/images/s8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s8.png -------------------------------------------------------------------------------- /public/images/s9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/s9.png -------------------------------------------------------------------------------- /public/images/shop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/shop.png -------------------------------------------------------------------------------- /public/images/shop_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/shop_open.png -------------------------------------------------------------------------------- /public/images/yam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fhrryDeveloper/React-Django-Shope-frontend/cc52d1bade5ccac7f9b3e11e062fba74e309f9b8/public/images/yam.png -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 16 | 17 | 18 | 27 | AfroShopMe 28 | 29 | 30 | 31 |
32 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import { Container } from 'react-bootstrap' 2 | import { BrowserRouter as Router, Route} from 'react-router-dom' 3 | import Header from './components/Header' 4 | import Footer from './components/Footer' 5 | import HomeScreen from './screens/HomeScreen' 6 | import Index_Screen from './screens/Index_Screen' 7 | import ShopScreen from './screens/ShopScreen' 8 | import HomeProductScreen from './screens/HomeProductScreen' 9 | import ProductScreen from './screens/ProductScreen' 10 | import CartScreen from './screens/CartScreen' 11 | import LoginScreen from './screens/LoginScreen' 12 | import RegisterScreen from './screens/RegisterScreen' 13 | import ProfileScreen from './screens/ProfileScreen' 14 | import ShippingScreen from './screens/ShippingScreen' 15 | import PaymentScreen from './screens/PaymentScreen' 16 | import PlaceOrderScreen from './screens/PlaceOrderScreen' 17 | import OrderScreen from './screens/OrderScreen' 18 | import UserListScreen from './screens/UserListScreen' 19 | import UserEditScreen from './screens/UserEditScreen' 20 | import ProductListScreen from './screens/ProductListScreen' 21 | import ProductEditScreen from './screens/ProductEditScreen' 22 | import OrderListScreen from './screens/OrderListScreen' 23 | import IndexSearchScreen from './screens/IndexSearchScreen' 24 | import OpenYourStoreScreen from './screens/OpenYourStoreScreen' 25 | import GrowBusinessScreen from './screens/GrowBusinessScreen' 26 | import ResultProductScreen from './screens/ResultProductScreen' 27 | import ResultShopScreen from './screens/ResultShopScreen' 28 | 29 | 30 | function App() { 31 | return ( 32 | 33 |
34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 |
69 |