├── .gitignore ├── .prettierignore ├── .prettierrc.js ├── README.md ├── app ├── components │ ├── AddressView │ │ ├── AddressView.tsx │ │ └── index.ts │ ├── CartSummary │ │ ├── CartSummary.tsx │ │ └── index.ts │ ├── CartView │ │ ├── CartView.css │ │ ├── CartView.tsx │ │ └── index.ts │ ├── CatalogView │ │ ├── CatalogView.tsx │ │ └── index.ts │ ├── Containers │ │ ├── Containers.tsx │ │ └── index.ts │ ├── Form │ │ ├── ErrorMessage.tsx │ │ ├── TextField.tsx │ │ └── index.ts │ ├── Header │ │ ├── Header.tsx │ │ ├── Navbar.css │ │ ├── Navbar.tsx │ │ └── index.ts │ ├── OrderView │ │ ├── OrderItemList.css │ │ ├── OrderItemList.tsx │ │ ├── OrderView.css │ │ ├── OrderView.tsx │ │ └── index.tsx │ ├── ProductView │ │ ├── ProductView.css │ │ ├── ProductView.tsx │ │ └── index.ts │ └── index.ts ├── entry.client.tsx ├── entry.server.tsx ├── hooks │ ├── index.ts │ └── useReloadData.ts ├── models │ ├── Address.ts │ ├── Cart.tsx │ ├── CheckoutInfo.ts │ ├── Order.ts │ ├── OrderItem.ts │ ├── Product.ts │ ├── README.md │ └── index.ts ├── root.tsx ├── routes │ ├── checkout.tsx │ ├── index.tsx │ └── orders.tsx ├── styles │ └── global.css └── utils │ ├── Constants.ts │ ├── DateUtils.ts │ ├── FormUtils.ts │ ├── README.md │ ├── StringUtils.ts │ ├── index.ts │ └── yupLocale.ts ├── assets └── screenshot-home.png ├── package.json ├── public └── favicon.ico ├── remix.config.js ├── remix.env.d.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | singleQuote: true, 3 | proseWrap: 'always' 4 | }; 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/README.md -------------------------------------------------------------------------------- /app/components/AddressView/AddressView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/AddressView/AddressView.tsx -------------------------------------------------------------------------------- /app/components/AddressView/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AddressView'; 2 | -------------------------------------------------------------------------------- /app/components/CartSummary/CartSummary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/CartSummary/CartSummary.tsx -------------------------------------------------------------------------------- /app/components/CartSummary/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CartSummary'; 2 | -------------------------------------------------------------------------------- /app/components/CartView/CartView.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/CartView/CartView.css -------------------------------------------------------------------------------- /app/components/CartView/CartView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/CartView/CartView.tsx -------------------------------------------------------------------------------- /app/components/CartView/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CartView'; 2 | -------------------------------------------------------------------------------- /app/components/CatalogView/CatalogView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/CatalogView/CatalogView.tsx -------------------------------------------------------------------------------- /app/components/CatalogView/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CatalogView'; 2 | -------------------------------------------------------------------------------- /app/components/Containers/Containers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/Containers/Containers.tsx -------------------------------------------------------------------------------- /app/components/Containers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Containers'; 2 | -------------------------------------------------------------------------------- /app/components/Form/ErrorMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/Form/ErrorMessage.tsx -------------------------------------------------------------------------------- /app/components/Form/TextField.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/Form/TextField.tsx -------------------------------------------------------------------------------- /app/components/Form/index.ts: -------------------------------------------------------------------------------- 1 | export * from './TextField'; 2 | -------------------------------------------------------------------------------- /app/components/Header/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/Header/Header.tsx -------------------------------------------------------------------------------- /app/components/Header/Navbar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/Header/Navbar.css -------------------------------------------------------------------------------- /app/components/Header/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/Header/Navbar.tsx -------------------------------------------------------------------------------- /app/components/Header/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Header'; 2 | -------------------------------------------------------------------------------- /app/components/OrderView/OrderItemList.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/OrderView/OrderItemList.css -------------------------------------------------------------------------------- /app/components/OrderView/OrderItemList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/OrderView/OrderItemList.tsx -------------------------------------------------------------------------------- /app/components/OrderView/OrderView.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/OrderView/OrderView.css -------------------------------------------------------------------------------- /app/components/OrderView/OrderView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/OrderView/OrderView.tsx -------------------------------------------------------------------------------- /app/components/OrderView/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/OrderView/index.tsx -------------------------------------------------------------------------------- /app/components/ProductView/ProductView.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/ProductView/ProductView.css -------------------------------------------------------------------------------- /app/components/ProductView/ProductView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/ProductView/ProductView.tsx -------------------------------------------------------------------------------- /app/components/ProductView/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ProductView'; 2 | -------------------------------------------------------------------------------- /app/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/components/index.ts -------------------------------------------------------------------------------- /app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/entry.client.tsx -------------------------------------------------------------------------------- /app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/entry.server.tsx -------------------------------------------------------------------------------- /app/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useReloadData'; 2 | -------------------------------------------------------------------------------- /app/hooks/useReloadData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/hooks/useReloadData.ts -------------------------------------------------------------------------------- /app/models/Address.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/Address.ts -------------------------------------------------------------------------------- /app/models/Cart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/Cart.tsx -------------------------------------------------------------------------------- /app/models/CheckoutInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/CheckoutInfo.ts -------------------------------------------------------------------------------- /app/models/Order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/Order.ts -------------------------------------------------------------------------------- /app/models/OrderItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/OrderItem.ts -------------------------------------------------------------------------------- /app/models/Product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/Product.ts -------------------------------------------------------------------------------- /app/models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/README.md -------------------------------------------------------------------------------- /app/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/models/index.ts -------------------------------------------------------------------------------- /app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/root.tsx -------------------------------------------------------------------------------- /app/routes/checkout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/routes/checkout.tsx -------------------------------------------------------------------------------- /app/routes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/routes/index.tsx -------------------------------------------------------------------------------- /app/routes/orders.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/routes/orders.tsx -------------------------------------------------------------------------------- /app/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/styles/global.css -------------------------------------------------------------------------------- /app/utils/Constants.ts: -------------------------------------------------------------------------------- 1 | export const API_URL = 'http://localhost:8080'; 2 | -------------------------------------------------------------------------------- /app/utils/DateUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/utils/DateUtils.ts -------------------------------------------------------------------------------- /app/utils/FormUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/utils/FormUtils.ts -------------------------------------------------------------------------------- /app/utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/utils/README.md -------------------------------------------------------------------------------- /app/utils/StringUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/utils/StringUtils.ts -------------------------------------------------------------------------------- /app/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/utils/index.ts -------------------------------------------------------------------------------- /app/utils/yupLocale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/app/utils/yupLocale.ts -------------------------------------------------------------------------------- /assets/screenshot-home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/assets/screenshot-home.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /remix.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/remix.config.js -------------------------------------------------------------------------------- /remix.env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/remix.env.d.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nareshbhatia/react-test-shop-remix/HEAD/yarn.lock --------------------------------------------------------------------------------