├── .gitignore ├── README.md ├── ecomm-original ├── .babelrc ├── package.json ├── postcss.config.js ├── src │ ├── App.tsx │ ├── components │ │ ├── CartContent.tsx │ │ ├── Footer.tsx │ │ ├── Header.tsx │ │ ├── HomeContent.tsx │ │ ├── Login.tsx │ │ ├── MainLayout.tsx │ │ ├── MiniCart.tsx │ │ └── PDPContent.tsx │ ├── index.html │ ├── index.scss │ ├── index.ts │ └── lib │ │ ├── cart.ts │ │ └── products.ts ├── tailwind.config.js ├── webpack.config.js └── yarn.lock ├── ecomm ├── .babelrc ├── package.json ├── postcss.config.js ├── src │ ├── App.tsx │ ├── components │ │ ├── CartContent.tsx │ │ ├── Footer.tsx │ │ ├── Header.tsx │ │ ├── HomeContent.tsx │ │ ├── Login.tsx │ │ ├── MainLayout.tsx │ │ ├── MiniCart.tsx │ │ ├── PDPContent.tsx │ │ ├── homeModule.tsx │ │ └── pdpModule.tsx │ ├── index.html │ ├── index.scss │ ├── index.ts │ ├── lib │ │ ├── cart.ts │ │ └── products.ts │ └── router.tsx ├── tailwind.config.js ├── webpack.config.js └── yarn.lock ├── server ├── .eslintrc.js ├── .prettierrc ├── README.md ├── nest-cli.json ├── package.json ├── public │ ├── fidget-1.jpg │ ├── fidget-10.jpg │ ├── fidget-11.jpg │ ├── fidget-2.jpg │ ├── fidget-3.jpg │ ├── fidget-5.jpg │ ├── fidget-6.jpg │ ├── fidget-7.jpg │ ├── fidget-8.jpg │ └── fidget-9.jpg ├── src │ ├── app.controller.ts │ ├── app.module.ts │ ├── auth │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── constants.ts │ │ ├── jwt-auth.guard.ts │ │ ├── jwt.strategy.ts │ │ ├── local-auth.guard.ts │ │ └── local.strategy.ts │ ├── config.ts │ ├── main.ts │ ├── modules │ │ ├── cart │ │ │ ├── cart.controller.ts │ │ │ └── cart.module.ts │ │ └── products │ │ │ ├── products.controller.ts │ │ │ └── products.module.ts │ ├── products.ts │ └── users │ │ ├── users.module.ts │ │ └── users.service.ts ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock └── testapp ├── .babelrc ├── package.json ├── postcss.config.js ├── src ├── App.tsx ├── index.html ├── index.scss └── index.ts ├── tailwind.config.js ├── webpack.config.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/README.md -------------------------------------------------------------------------------- /ecomm-original/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/.babelrc -------------------------------------------------------------------------------- /ecomm-original/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/package.json -------------------------------------------------------------------------------- /ecomm-original/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/postcss.config.js -------------------------------------------------------------------------------- /ecomm-original/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/App.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/CartContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/CartContent.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/Footer.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/Header.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/HomeContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/HomeContent.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/Login.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/MainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/MainLayout.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/MiniCart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/MiniCart.tsx -------------------------------------------------------------------------------- /ecomm-original/src/components/PDPContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/components/PDPContent.tsx -------------------------------------------------------------------------------- /ecomm-original/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/index.html -------------------------------------------------------------------------------- /ecomm-original/src/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/index.scss -------------------------------------------------------------------------------- /ecomm-original/src/index.ts: -------------------------------------------------------------------------------- 1 | import("./App"); 2 | -------------------------------------------------------------------------------- /ecomm-original/src/lib/cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/lib/cart.ts -------------------------------------------------------------------------------- /ecomm-original/src/lib/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/src/lib/products.ts -------------------------------------------------------------------------------- /ecomm-original/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/tailwind.config.js -------------------------------------------------------------------------------- /ecomm-original/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/webpack.config.js -------------------------------------------------------------------------------- /ecomm-original/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm-original/yarn.lock -------------------------------------------------------------------------------- /ecomm/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/.babelrc -------------------------------------------------------------------------------- /ecomm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/package.json -------------------------------------------------------------------------------- /ecomm/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/postcss.config.js -------------------------------------------------------------------------------- /ecomm/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/App.tsx -------------------------------------------------------------------------------- /ecomm/src/components/CartContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/CartContent.tsx -------------------------------------------------------------------------------- /ecomm/src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/Footer.tsx -------------------------------------------------------------------------------- /ecomm/src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/Header.tsx -------------------------------------------------------------------------------- /ecomm/src/components/HomeContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/HomeContent.tsx -------------------------------------------------------------------------------- /ecomm/src/components/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/Login.tsx -------------------------------------------------------------------------------- /ecomm/src/components/MainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/MainLayout.tsx -------------------------------------------------------------------------------- /ecomm/src/components/MiniCart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/MiniCart.tsx -------------------------------------------------------------------------------- /ecomm/src/components/PDPContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/PDPContent.tsx -------------------------------------------------------------------------------- /ecomm/src/components/homeModule.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/homeModule.tsx -------------------------------------------------------------------------------- /ecomm/src/components/pdpModule.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/components/pdpModule.tsx -------------------------------------------------------------------------------- /ecomm/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/index.html -------------------------------------------------------------------------------- /ecomm/src/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/index.scss -------------------------------------------------------------------------------- /ecomm/src/index.ts: -------------------------------------------------------------------------------- 1 | import("./App"); 2 | -------------------------------------------------------------------------------- /ecomm/src/lib/cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/lib/cart.ts -------------------------------------------------------------------------------- /ecomm/src/lib/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/lib/products.ts -------------------------------------------------------------------------------- /ecomm/src/router.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/src/router.tsx -------------------------------------------------------------------------------- /ecomm/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/tailwind.config.js -------------------------------------------------------------------------------- /ecomm/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/webpack.config.js -------------------------------------------------------------------------------- /ecomm/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/ecomm/yarn.lock -------------------------------------------------------------------------------- /server/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/.eslintrc.js -------------------------------------------------------------------------------- /server/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/.prettierrc -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/README.md -------------------------------------------------------------------------------- /server/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/nest-cli.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/package.json -------------------------------------------------------------------------------- /server/public/fidget-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-1.jpg -------------------------------------------------------------------------------- /server/public/fidget-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-10.jpg -------------------------------------------------------------------------------- /server/public/fidget-11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-11.jpg -------------------------------------------------------------------------------- /server/public/fidget-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-2.jpg -------------------------------------------------------------------------------- /server/public/fidget-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-3.jpg -------------------------------------------------------------------------------- /server/public/fidget-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-5.jpg -------------------------------------------------------------------------------- /server/public/fidget-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-6.jpg -------------------------------------------------------------------------------- /server/public/fidget-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-7.jpg -------------------------------------------------------------------------------- /server/public/fidget-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-8.jpg -------------------------------------------------------------------------------- /server/public/fidget-9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/public/fidget-9.jpg -------------------------------------------------------------------------------- /server/src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/app.controller.ts -------------------------------------------------------------------------------- /server/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/app.module.ts -------------------------------------------------------------------------------- /server/src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/auth.module.ts -------------------------------------------------------------------------------- /server/src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/auth.service.ts -------------------------------------------------------------------------------- /server/src/auth/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/constants.ts -------------------------------------------------------------------------------- /server/src/auth/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/jwt-auth.guard.ts -------------------------------------------------------------------------------- /server/src/auth/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/jwt.strategy.ts -------------------------------------------------------------------------------- /server/src/auth/local-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/local-auth.guard.ts -------------------------------------------------------------------------------- /server/src/auth/local.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/auth/local.strategy.ts -------------------------------------------------------------------------------- /server/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/config.ts -------------------------------------------------------------------------------- /server/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/main.ts -------------------------------------------------------------------------------- /server/src/modules/cart/cart.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/modules/cart/cart.controller.ts -------------------------------------------------------------------------------- /server/src/modules/cart/cart.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/modules/cart/cart.module.ts -------------------------------------------------------------------------------- /server/src/modules/products/products.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/modules/products/products.controller.ts -------------------------------------------------------------------------------- /server/src/modules/products/products.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/modules/products/products.module.ts -------------------------------------------------------------------------------- /server/src/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/products.ts -------------------------------------------------------------------------------- /server/src/users/users.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/users/users.module.ts -------------------------------------------------------------------------------- /server/src/users/users.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/src/users/users.service.ts -------------------------------------------------------------------------------- /server/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /server/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/test/jest-e2e.json -------------------------------------------------------------------------------- /server/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/tsconfig.build.json -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/tsconfig.json -------------------------------------------------------------------------------- /server/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/server/yarn.lock -------------------------------------------------------------------------------- /testapp/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/.babelrc -------------------------------------------------------------------------------- /testapp/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/package.json -------------------------------------------------------------------------------- /testapp/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/postcss.config.js -------------------------------------------------------------------------------- /testapp/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/src/App.tsx -------------------------------------------------------------------------------- /testapp/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/src/index.html -------------------------------------------------------------------------------- /testapp/src/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/src/index.scss -------------------------------------------------------------------------------- /testapp/src/index.ts: -------------------------------------------------------------------------------- 1 | import("./App"); 2 | -------------------------------------------------------------------------------- /testapp/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/tailwind.config.js -------------------------------------------------------------------------------- /testapp/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/webpack.config.js -------------------------------------------------------------------------------- /testapp/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/react-location-intro/HEAD/testapp/yarn.lock --------------------------------------------------------------------------------