├── .gitignore ├── LICENSE ├── README.md ├── backend ├── .env.example ├── .gitignore ├── README.md ├── package.json ├── pnpm-lock.yaml ├── scripts │ ├── dev_db_tools.ts │ ├── make_backup.ts │ ├── mock-data.json │ └── test_order_notifications.ts ├── src │ ├── app.ts │ ├── controller │ │ ├── auth.ts │ │ └── public.ts │ ├── dev.ts │ ├── index.ts │ ├── lib │ │ ├── db.ts │ │ ├── entities.ts │ │ ├── service.ts │ │ ├── subscribers.ts │ │ └── util.ts │ └── routes │ │ ├── auth.ts │ │ ├── index.ts │ │ └── public.ts ├── tests │ ├── codegen.ts │ ├── crud.test.ts │ ├── docker-postgres.test.yml │ ├── order.test.ts │ ├── public.test.ts │ ├── run_test.sh │ ├── setup.ts │ └── test-app.ts ├── tsconfig.json ├── vercel.json └── vitest.config.ts ├── frontend ├── .env.example ├── .gitignore ├── README.md ├── app │ ├── admin │ │ ├── [model] │ │ │ └── page.tsx │ │ ├── form │ │ │ ├── [model] │ │ │ │ └── [id] │ │ │ │ │ └── page.tsx │ │ │ └── image │ │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── order │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ └── page.tsx │ ├── category │ │ ├── [handle] │ │ │ ├── loading.tsx │ │ │ └── page.tsx │ │ └── layout.tsx │ ├── checkout │ │ └── page.tsx │ ├── error.tsx │ ├── head.tsx │ ├── layout.tsx │ ├── legal │ │ └── [handle] │ │ │ └── page.tsx │ ├── loading.tsx │ ├── login │ │ └── page.tsx │ ├── not-found.tsx │ ├── page.tsx │ ├── product │ │ └── [handle] │ │ │ ├── loading.tsx │ │ │ └── page.tsx │ ├── robots.ts │ └── sitemap.xml │ │ └── route.ts ├── components │ ├── admin │ │ ├── form │ │ │ ├── field-renderer.tsx │ │ │ ├── image-upload.tsx │ │ │ ├── images-editor.tsx │ │ │ └── index.tsx │ │ ├── order-view.tsx │ │ └── table │ │ │ ├── index.tsx │ │ │ ├── renderer │ │ │ ├── ActionRenderer.tsx │ │ │ ├── OrderItemsRenderer.tsx │ │ │ ├── OrderStatusRenderer.tsx │ │ │ └── index.tsx │ │ │ └── table-header.tsx │ ├── cart │ │ ├── cart-buttons.tsx │ │ ├── cart-content.tsx │ │ └── index.tsx │ ├── checkout │ │ ├── checkout-form.tsx │ │ ├── checkout-summary.tsx │ │ └── index.tsx │ ├── layout │ │ ├── accessibility-bar.tsx │ │ ├── footer.tsx │ │ ├── header │ │ │ ├── admin-nav.tsx │ │ │ ├── header-controls.tsx │ │ │ ├── index.tsx │ │ │ └── logo.tsx │ │ └── sidebar │ │ │ ├── categories.tsx │ │ │ └── index.tsx │ ├── products │ │ ├── grid │ │ │ ├── index.tsx │ │ │ ├── label.tsx │ │ │ └── tile.tsx │ │ ├── index.tsx │ │ └── single │ │ │ ├── index.tsx │ │ │ ├── product-buttons.tsx │ │ │ ├── product-description.tsx │ │ │ └── product-gallery.tsx │ └── shared │ │ ├── elements-client.tsx │ │ ├── elements-ssr.tsx │ │ ├── loading-skeleton.tsx │ │ ├── messages.tsx │ │ └── wrappers.tsx ├── e2e │ ├── crud.spec.ts │ ├── global-setup.ts │ ├── helper-test.ts │ ├── order.spec.ts │ └── public.spec.ts ├── lib │ ├── api │ │ ├── api.ts │ │ ├── catalog.ts │ │ ├── index.ts │ │ ├── mock-api.ts │ │ └── mock-data.json │ ├── assets │ │ ├── i18n │ │ │ ├── localizedMetadata.ts │ │ │ └── translations.json │ │ └── styles │ │ │ ├── globals.css │ │ │ └── style.ts │ ├── config │ │ ├── config.ts │ │ ├── index.ts │ │ ├── jsonld.ts │ │ ├── legal_sections.ts │ │ ├── locale-cache.ts │ │ ├── mappings.ts │ │ ├── metadata.ts │ │ └── ui.tsx │ ├── helper.ts │ ├── provider │ │ ├── IntProvider.tsx │ │ ├── LoadingProvider.tsx │ │ ├── ReduxProvider.tsx │ │ └── ThemeProviderLayout.tsx │ ├── store │ │ ├── adminSlice.ts │ │ ├── cartSlice.ts │ │ └── index.ts │ └── types │ │ ├── entities.ts │ │ ├── enums.ts │ │ ├── form.ts │ │ ├── index.ts │ │ ├── interfaces.ts │ │ └── table.ts ├── middleware.ts ├── next-env.d.ts ├── next.config.ts ├── package.json ├── playwright.config.ts ├── pnpm-lock.yaml ├── public │ ├── android-chrome-192x192.png │ ├── android-chrome-512x512.png │ ├── apple-touch-icon.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon.ico │ ├── logo.png │ └── site.webmanifest └── tsconfig.json ├── functions ├── .env.example ├── README.md ├── api │ ├── auth │ │ ├── [model] │ │ │ └── [id] │ │ │ │ └── delete │ │ │ │ └── route.js │ │ ├── category │ │ │ └── [add_or_id] │ │ │ │ └── route.js │ │ ├── image │ │ │ └── route.js │ │ ├── order │ │ │ ├── [id] │ │ │ │ └── route.js │ │ │ └── status │ │ │ │ └── route.js │ │ ├── orders │ │ │ └── route.js │ │ └── product │ │ │ └── [add_or_id] │ │ │ └── route.js │ ├── checkout │ │ └── route.js │ ├── data │ │ └── route.js │ ├── login │ │ └── route.js │ ├── register │ │ └── route.js │ └── reset_mock_db │ │ └── route.js ├── next-ecommerce-backend.tgz └── tsconfig.json ├── package.json └── pnpm-lock.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | a 2 | /node_modules 3 | .idea 4 | .vscode 5 | .env 6 | .DS_Store -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/README.md -------------------------------------------------------------------------------- /backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/.env.example -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/README.md -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/pnpm-lock.yaml -------------------------------------------------------------------------------- /backend/scripts/dev_db_tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/scripts/dev_db_tools.ts -------------------------------------------------------------------------------- /backend/scripts/make_backup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/scripts/make_backup.ts -------------------------------------------------------------------------------- /backend/scripts/mock-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/scripts/mock-data.json -------------------------------------------------------------------------------- /backend/scripts/test_order_notifications.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/scripts/test_order_notifications.ts -------------------------------------------------------------------------------- /backend/src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/app.ts -------------------------------------------------------------------------------- /backend/src/controller/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/controller/auth.ts -------------------------------------------------------------------------------- /backend/src/controller/public.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/controller/public.ts -------------------------------------------------------------------------------- /backend/src/dev.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/dev.ts -------------------------------------------------------------------------------- /backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/index.ts -------------------------------------------------------------------------------- /backend/src/lib/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/lib/db.ts -------------------------------------------------------------------------------- /backend/src/lib/entities.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/lib/entities.ts -------------------------------------------------------------------------------- /backend/src/lib/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/lib/service.ts -------------------------------------------------------------------------------- /backend/src/lib/subscribers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/lib/subscribers.ts -------------------------------------------------------------------------------- /backend/src/lib/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/lib/util.ts -------------------------------------------------------------------------------- /backend/src/routes/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/routes/auth.ts -------------------------------------------------------------------------------- /backend/src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/routes/index.ts -------------------------------------------------------------------------------- /backend/src/routes/public.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/src/routes/public.ts -------------------------------------------------------------------------------- /backend/tests/codegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/codegen.ts -------------------------------------------------------------------------------- /backend/tests/crud.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/crud.test.ts -------------------------------------------------------------------------------- /backend/tests/docker-postgres.test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/docker-postgres.test.yml -------------------------------------------------------------------------------- /backend/tests/order.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/order.test.ts -------------------------------------------------------------------------------- /backend/tests/public.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/public.test.ts -------------------------------------------------------------------------------- /backend/tests/run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/run_test.sh -------------------------------------------------------------------------------- /backend/tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/setup.ts -------------------------------------------------------------------------------- /backend/tests/test-app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tests/test-app.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/vercel.json -------------------------------------------------------------------------------- /backend/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/backend/vitest.config.ts -------------------------------------------------------------------------------- /frontend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/.env.example -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/app/admin/[model]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/admin/[model]/page.tsx -------------------------------------------------------------------------------- /frontend/app/admin/form/[model]/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/admin/form/[model]/[id]/page.tsx -------------------------------------------------------------------------------- /frontend/app/admin/form/image/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/admin/form/image/page.tsx -------------------------------------------------------------------------------- /frontend/app/admin/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/admin/layout.tsx -------------------------------------------------------------------------------- /frontend/app/admin/order/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/admin/order/[id]/page.tsx -------------------------------------------------------------------------------- /frontend/app/admin/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/admin/page.tsx -------------------------------------------------------------------------------- /frontend/app/category/[handle]/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/category/[handle]/loading.tsx -------------------------------------------------------------------------------- /frontend/app/category/[handle]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/category/[handle]/page.tsx -------------------------------------------------------------------------------- /frontend/app/category/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/category/layout.tsx -------------------------------------------------------------------------------- /frontend/app/checkout/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/checkout/page.tsx -------------------------------------------------------------------------------- /frontend/app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/error.tsx -------------------------------------------------------------------------------- /frontend/app/head.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/head.tsx -------------------------------------------------------------------------------- /frontend/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/layout.tsx -------------------------------------------------------------------------------- /frontend/app/legal/[handle]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/legal/[handle]/page.tsx -------------------------------------------------------------------------------- /frontend/app/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/loading.tsx -------------------------------------------------------------------------------- /frontend/app/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/login/page.tsx -------------------------------------------------------------------------------- /frontend/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/not-found.tsx -------------------------------------------------------------------------------- /frontend/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/page.tsx -------------------------------------------------------------------------------- /frontend/app/product/[handle]/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/product/[handle]/loading.tsx -------------------------------------------------------------------------------- /frontend/app/product/[handle]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/product/[handle]/page.tsx -------------------------------------------------------------------------------- /frontend/app/robots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/robots.ts -------------------------------------------------------------------------------- /frontend/app/sitemap.xml/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/app/sitemap.xml/route.ts -------------------------------------------------------------------------------- /frontend/components/admin/form/field-renderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/form/field-renderer.tsx -------------------------------------------------------------------------------- /frontend/components/admin/form/image-upload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/form/image-upload.tsx -------------------------------------------------------------------------------- /frontend/components/admin/form/images-editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/form/images-editor.tsx -------------------------------------------------------------------------------- /frontend/components/admin/form/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/form/index.tsx -------------------------------------------------------------------------------- /frontend/components/admin/order-view.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/order-view.tsx -------------------------------------------------------------------------------- /frontend/components/admin/table/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/table/index.tsx -------------------------------------------------------------------------------- /frontend/components/admin/table/renderer/ActionRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/table/renderer/ActionRenderer.tsx -------------------------------------------------------------------------------- /frontend/components/admin/table/renderer/OrderItemsRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/table/renderer/OrderItemsRenderer.tsx -------------------------------------------------------------------------------- /frontend/components/admin/table/renderer/OrderStatusRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/table/renderer/OrderStatusRenderer.tsx -------------------------------------------------------------------------------- /frontend/components/admin/table/renderer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/table/renderer/index.tsx -------------------------------------------------------------------------------- /frontend/components/admin/table/table-header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/admin/table/table-header.tsx -------------------------------------------------------------------------------- /frontend/components/cart/cart-buttons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/cart/cart-buttons.tsx -------------------------------------------------------------------------------- /frontend/components/cart/cart-content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/cart/cart-content.tsx -------------------------------------------------------------------------------- /frontend/components/cart/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/cart/index.tsx -------------------------------------------------------------------------------- /frontend/components/checkout/checkout-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/checkout/checkout-form.tsx -------------------------------------------------------------------------------- /frontend/components/checkout/checkout-summary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/checkout/checkout-summary.tsx -------------------------------------------------------------------------------- /frontend/components/checkout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/checkout/index.tsx -------------------------------------------------------------------------------- /frontend/components/layout/accessibility-bar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/accessibility-bar.tsx -------------------------------------------------------------------------------- /frontend/components/layout/footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/footer.tsx -------------------------------------------------------------------------------- /frontend/components/layout/header/admin-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/header/admin-nav.tsx -------------------------------------------------------------------------------- /frontend/components/layout/header/header-controls.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/header/header-controls.tsx -------------------------------------------------------------------------------- /frontend/components/layout/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/header/index.tsx -------------------------------------------------------------------------------- /frontend/components/layout/header/logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/header/logo.tsx -------------------------------------------------------------------------------- /frontend/components/layout/sidebar/categories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/sidebar/categories.tsx -------------------------------------------------------------------------------- /frontend/components/layout/sidebar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/layout/sidebar/index.tsx -------------------------------------------------------------------------------- /frontend/components/products/grid/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/grid/index.tsx -------------------------------------------------------------------------------- /frontend/components/products/grid/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/grid/label.tsx -------------------------------------------------------------------------------- /frontend/components/products/grid/tile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/grid/tile.tsx -------------------------------------------------------------------------------- /frontend/components/products/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/index.tsx -------------------------------------------------------------------------------- /frontend/components/products/single/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/single/index.tsx -------------------------------------------------------------------------------- /frontend/components/products/single/product-buttons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/single/product-buttons.tsx -------------------------------------------------------------------------------- /frontend/components/products/single/product-description.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/single/product-description.tsx -------------------------------------------------------------------------------- /frontend/components/products/single/product-gallery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/products/single/product-gallery.tsx -------------------------------------------------------------------------------- /frontend/components/shared/elements-client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/shared/elements-client.tsx -------------------------------------------------------------------------------- /frontend/components/shared/elements-ssr.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/shared/elements-ssr.tsx -------------------------------------------------------------------------------- /frontend/components/shared/loading-skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/shared/loading-skeleton.tsx -------------------------------------------------------------------------------- /frontend/components/shared/messages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/shared/messages.tsx -------------------------------------------------------------------------------- /frontend/components/shared/wrappers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/components/shared/wrappers.tsx -------------------------------------------------------------------------------- /frontend/e2e/crud.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/e2e/crud.spec.ts -------------------------------------------------------------------------------- /frontend/e2e/global-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/e2e/global-setup.ts -------------------------------------------------------------------------------- /frontend/e2e/helper-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/e2e/helper-test.ts -------------------------------------------------------------------------------- /frontend/e2e/order.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/e2e/order.spec.ts -------------------------------------------------------------------------------- /frontend/e2e/public.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/e2e/public.spec.ts -------------------------------------------------------------------------------- /frontend/lib/api/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/api/api.ts -------------------------------------------------------------------------------- /frontend/lib/api/catalog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/api/catalog.ts -------------------------------------------------------------------------------- /frontend/lib/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/api/index.ts -------------------------------------------------------------------------------- /frontend/lib/api/mock-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/api/mock-api.ts -------------------------------------------------------------------------------- /frontend/lib/api/mock-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/api/mock-data.json -------------------------------------------------------------------------------- /frontend/lib/assets/i18n/localizedMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/assets/i18n/localizedMetadata.ts -------------------------------------------------------------------------------- /frontend/lib/assets/i18n/translations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/assets/i18n/translations.json -------------------------------------------------------------------------------- /frontend/lib/assets/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/assets/styles/globals.css -------------------------------------------------------------------------------- /frontend/lib/assets/styles/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/assets/styles/style.ts -------------------------------------------------------------------------------- /frontend/lib/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/config.ts -------------------------------------------------------------------------------- /frontend/lib/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/index.ts -------------------------------------------------------------------------------- /frontend/lib/config/jsonld.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/jsonld.ts -------------------------------------------------------------------------------- /frontend/lib/config/legal_sections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/legal_sections.ts -------------------------------------------------------------------------------- /frontend/lib/config/locale-cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/locale-cache.ts -------------------------------------------------------------------------------- /frontend/lib/config/mappings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/mappings.ts -------------------------------------------------------------------------------- /frontend/lib/config/metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/metadata.ts -------------------------------------------------------------------------------- /frontend/lib/config/ui.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/config/ui.tsx -------------------------------------------------------------------------------- /frontend/lib/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/helper.ts -------------------------------------------------------------------------------- /frontend/lib/provider/IntProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/provider/IntProvider.tsx -------------------------------------------------------------------------------- /frontend/lib/provider/LoadingProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/provider/LoadingProvider.tsx -------------------------------------------------------------------------------- /frontend/lib/provider/ReduxProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/provider/ReduxProvider.tsx -------------------------------------------------------------------------------- /frontend/lib/provider/ThemeProviderLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/provider/ThemeProviderLayout.tsx -------------------------------------------------------------------------------- /frontend/lib/store/adminSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/store/adminSlice.ts -------------------------------------------------------------------------------- /frontend/lib/store/cartSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/store/cartSlice.ts -------------------------------------------------------------------------------- /frontend/lib/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/store/index.ts -------------------------------------------------------------------------------- /frontend/lib/types/entities.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/types/entities.ts -------------------------------------------------------------------------------- /frontend/lib/types/enums.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/types/enums.ts -------------------------------------------------------------------------------- /frontend/lib/types/form.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/types/form.ts -------------------------------------------------------------------------------- /frontend/lib/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/types/index.ts -------------------------------------------------------------------------------- /frontend/lib/types/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/types/interfaces.ts -------------------------------------------------------------------------------- /frontend/lib/types/table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/lib/types/table.ts -------------------------------------------------------------------------------- /frontend/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/middleware.ts -------------------------------------------------------------------------------- /frontend/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/next-env.d.ts -------------------------------------------------------------------------------- /frontend/next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/next.config.ts -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/playwright.config.ts -------------------------------------------------------------------------------- /frontend/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/pnpm-lock.yaml -------------------------------------------------------------------------------- /frontend/public/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/android-chrome-192x192.png -------------------------------------------------------------------------------- /frontend/public/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/android-chrome-512x512.png -------------------------------------------------------------------------------- /frontend/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/apple-touch-icon.png -------------------------------------------------------------------------------- /frontend/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/favicon-16x16.png -------------------------------------------------------------------------------- /frontend/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/favicon-32x32.png -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/logo.png -------------------------------------------------------------------------------- /frontend/public/site.webmanifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/public/site.webmanifest -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /functions/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/.env.example -------------------------------------------------------------------------------- /functions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/README.md -------------------------------------------------------------------------------- /functions/api/auth/[model]/[id]/delete/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/[model]/[id]/delete/route.js -------------------------------------------------------------------------------- /functions/api/auth/category/[add_or_id]/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/category/[add_or_id]/route.js -------------------------------------------------------------------------------- /functions/api/auth/image/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/image/route.js -------------------------------------------------------------------------------- /functions/api/auth/order/[id]/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/order/[id]/route.js -------------------------------------------------------------------------------- /functions/api/auth/order/status/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/order/status/route.js -------------------------------------------------------------------------------- /functions/api/auth/orders/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/orders/route.js -------------------------------------------------------------------------------- /functions/api/auth/product/[add_or_id]/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/auth/product/[add_or_id]/route.js -------------------------------------------------------------------------------- /functions/api/checkout/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/checkout/route.js -------------------------------------------------------------------------------- /functions/api/data/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/data/route.js -------------------------------------------------------------------------------- /functions/api/login/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/login/route.js -------------------------------------------------------------------------------- /functions/api/register/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/register/route.js -------------------------------------------------------------------------------- /functions/api/reset_mock_db/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/api/reset_mock_db/route.js -------------------------------------------------------------------------------- /functions/next-ecommerce-backend.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/next-ecommerce-backend.tgz -------------------------------------------------------------------------------- /functions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/functions/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giladfuchs/next-ecommerce/HEAD/pnpm-lock.yaml --------------------------------------------------------------------------------