├── .gitignore ├── README.md ├── client ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── Layout │ │ └── Layout.js │ ├── action │ │ └── index.js │ ├── components │ │ ├── About.js │ │ ├── Cart.js │ │ ├── CartItem.js │ │ ├── CartResult.js │ │ ├── Home.js │ │ ├── Message.js │ │ ├── NavigationBar.js │ │ ├── Product.js │ │ └── Products.js │ ├── constants │ │ ├── ActionTypes.js │ │ ├── Config.js │ │ └── Message.js │ ├── containers │ │ ├── CartContainer.js │ │ ├── MessageContainer.js │ │ └── ProductsContainer.js │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── reducers │ │ ├── cart.js │ │ ├── index.js │ │ ├── message.js │ │ └── products.js │ ├── serviceWorker.js │ ├── setupTests.js │ ├── static │ │ └── css │ │ │ ├── Carticon.css │ │ │ ├── Home.css │ │ │ ├── Message.css │ │ │ └── Product.css │ └── utils │ │ └── apiCaller.js └── yarn.lock ├── index.js ├── models.js ├── package.json └── routes.js /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | node_modules 3 | route.rest 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/README.md -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/README.md -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/package.json -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/App.css -------------------------------------------------------------------------------- /client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/App.js -------------------------------------------------------------------------------- /client/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/App.test.js -------------------------------------------------------------------------------- /client/src/Layout/Layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/Layout/Layout.js -------------------------------------------------------------------------------- /client/src/action/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/action/index.js -------------------------------------------------------------------------------- /client/src/components/About.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/About.js -------------------------------------------------------------------------------- /client/src/components/Cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/Cart.js -------------------------------------------------------------------------------- /client/src/components/CartItem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/CartItem.js -------------------------------------------------------------------------------- /client/src/components/CartResult.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/CartResult.js -------------------------------------------------------------------------------- /client/src/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/Home.js -------------------------------------------------------------------------------- /client/src/components/Message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/Message.js -------------------------------------------------------------------------------- /client/src/components/NavigationBar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/NavigationBar.js -------------------------------------------------------------------------------- /client/src/components/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/Product.js -------------------------------------------------------------------------------- /client/src/components/Products.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/components/Products.js -------------------------------------------------------------------------------- /client/src/constants/ActionTypes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/constants/ActionTypes.js -------------------------------------------------------------------------------- /client/src/constants/Config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/constants/Config.js -------------------------------------------------------------------------------- /client/src/constants/Message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/constants/Message.js -------------------------------------------------------------------------------- /client/src/containers/CartContainer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/containers/CartContainer.js -------------------------------------------------------------------------------- /client/src/containers/MessageContainer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/containers/MessageContainer.js -------------------------------------------------------------------------------- /client/src/containers/ProductsContainer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/containers/ProductsContainer.js -------------------------------------------------------------------------------- /client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/index.css -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/logo.svg -------------------------------------------------------------------------------- /client/src/reducers/cart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/reducers/cart.js -------------------------------------------------------------------------------- /client/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/reducers/index.js -------------------------------------------------------------------------------- /client/src/reducers/message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/reducers/message.js -------------------------------------------------------------------------------- /client/src/reducers/products.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/reducers/products.js -------------------------------------------------------------------------------- /client/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/serviceWorker.js -------------------------------------------------------------------------------- /client/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/setupTests.js -------------------------------------------------------------------------------- /client/src/static/css/Carticon.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/static/css/Carticon.css -------------------------------------------------------------------------------- /client/src/static/css/Home.css: -------------------------------------------------------------------------------- 1 | .wrapper_item { 2 | padding-top: 20%; 3 | } -------------------------------------------------------------------------------- /client/src/static/css/Message.css: -------------------------------------------------------------------------------- 1 | .text_mess { 2 | color: yellowgreen; 3 | } -------------------------------------------------------------------------------- /client/src/static/css/Product.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/static/css/Product.css -------------------------------------------------------------------------------- /client/src/utils/apiCaller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/src/utils/apiCaller.js -------------------------------------------------------------------------------- /client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/client/yarn.lock -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/index.js -------------------------------------------------------------------------------- /models.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/models.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/package.json -------------------------------------------------------------------------------- /routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nightingale-evening/react_NE_add_cart/HEAD/routes.js --------------------------------------------------------------------------------