├── .gitattributes ├── README.md ├── client ├── .gitignore ├── README.md ├── package.json ├── postcss.config.js ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.jsx │ ├── assets │ │ ├── congar.png │ │ ├── main.css │ │ └── tailwind.css │ ├── components │ │ ├── buttons │ │ │ └── button.component.jsx │ │ ├── container │ │ │ └── container.component.jsx │ │ ├── inputs │ │ │ └── form.input.component.jsx │ │ └── navbar │ │ │ ├── navbar.component.jsx │ │ │ ├── navbar.css │ │ │ ├── navbar.item.jsx │ │ │ ├── navbar.list.jsx │ │ │ └── navbar.toggle.jsx │ ├── data │ │ ├── reducers │ │ │ ├── auth.js │ │ │ └── index.js │ │ └── store.js │ ├── helpers │ │ ├── URL.js │ │ └── setAuthToken.js │ ├── index.js │ ├── routes.jsx │ └── screens │ │ ├── Home.jsx │ │ ├── Login.jsx │ │ ├── Register.jsx │ │ └── loading.css ├── tailwind.js └── yarn.lock └── server ├── .gitignore ├── config └── db.js ├── middleware ├── adminAuth.js ├── auth.js ├── categoryById.js └── productById.js ├── models ├── Category.js ├── Product.js └── User.js ├── package.json ├── routes ├── auth.route.js ├── category.route.js └── product.route.js ├── server.js └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/.gitattributes -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/README.md -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/README.md -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/package.json -------------------------------------------------------------------------------- /client/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/postcss.config.js -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/App.jsx -------------------------------------------------------------------------------- /client/src/assets/congar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/assets/congar.png -------------------------------------------------------------------------------- /client/src/assets/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/assets/main.css -------------------------------------------------------------------------------- /client/src/assets/tailwind.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/assets/tailwind.css -------------------------------------------------------------------------------- /client/src/components/buttons/button.component.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/buttons/button.component.jsx -------------------------------------------------------------------------------- /client/src/components/container/container.component.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/container/container.component.jsx -------------------------------------------------------------------------------- /client/src/components/inputs/form.input.component.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/inputs/form.input.component.jsx -------------------------------------------------------------------------------- /client/src/components/navbar/navbar.component.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/navbar/navbar.component.jsx -------------------------------------------------------------------------------- /client/src/components/navbar/navbar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/navbar/navbar.css -------------------------------------------------------------------------------- /client/src/components/navbar/navbar.item.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/navbar/navbar.item.jsx -------------------------------------------------------------------------------- /client/src/components/navbar/navbar.list.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/navbar/navbar.list.jsx -------------------------------------------------------------------------------- /client/src/components/navbar/navbar.toggle.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/components/navbar/navbar.toggle.jsx -------------------------------------------------------------------------------- /client/src/data/reducers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/data/reducers/auth.js -------------------------------------------------------------------------------- /client/src/data/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/data/reducers/index.js -------------------------------------------------------------------------------- /client/src/data/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/data/store.js -------------------------------------------------------------------------------- /client/src/helpers/URL.js: -------------------------------------------------------------------------------- 1 | export const URLDevelopment = 'http://localhost:5000' -------------------------------------------------------------------------------- /client/src/helpers/setAuthToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/helpers/setAuthToken.js -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/routes.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/routes.jsx -------------------------------------------------------------------------------- /client/src/screens/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/screens/Home.jsx -------------------------------------------------------------------------------- /client/src/screens/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/screens/Login.jsx -------------------------------------------------------------------------------- /client/src/screens/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/screens/Register.jsx -------------------------------------------------------------------------------- /client/src/screens/loading.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/src/screens/loading.css -------------------------------------------------------------------------------- /client/tailwind.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/tailwind.js -------------------------------------------------------------------------------- /client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/client/yarn.lock -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /config/index.env -------------------------------------------------------------------------------- /server/config/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/config/db.js -------------------------------------------------------------------------------- /server/middleware/adminAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/middleware/adminAuth.js -------------------------------------------------------------------------------- /server/middleware/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/middleware/auth.js -------------------------------------------------------------------------------- /server/middleware/categoryById.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/middleware/categoryById.js -------------------------------------------------------------------------------- /server/middleware/productById.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/middleware/productById.js -------------------------------------------------------------------------------- /server/models/Category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/models/Category.js -------------------------------------------------------------------------------- /server/models/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/models/Product.js -------------------------------------------------------------------------------- /server/models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/models/User.js -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/package.json -------------------------------------------------------------------------------- /server/routes/auth.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/routes/auth.route.js -------------------------------------------------------------------------------- /server/routes/category.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/routes/category.route.js -------------------------------------------------------------------------------- /server/routes/product.route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/routes/product.route.js -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/server.js -------------------------------------------------------------------------------- /server/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mohammed-Abdelhady/Ecommerce-MERN-Redux-Tailwindcss/HEAD/server/yarn.lock --------------------------------------------------------------------------------