146 lines
No EOL
6.7 KiB
Text
146 lines
No EOL
6.7 KiB
Text
project/
|
|
├── frontend/
|
|
│ ├── src/
|
|
│ │ ├── utils/
|
|
│ │ │ └── imageUtils.js (4/24/2025)
|
|
│ │ ├── theme/
|
|
│ │ │ ├── ThemeProvider.jsx (4/24/2025)
|
|
│ │ │ └── index.js (4/24/2025)
|
|
│ │ ├── store/
|
|
│ │ │ └── index.js (4/24/2025)
|
|
│ │ ├── services/
|
|
│ │ │ ├── settingsAdminService.js (4/25/2025)
|
|
│ │ │ ├── productService.js (4/24/2025)
|
|
│ │ │ ├── imageService.js (4/24/2025)
|
|
│ │ │ ├── couponService.js (NEW - 4/29/2025)
|
|
│ │ │ ├── categoryAdminService.js (4/25/2025)
|
|
│ │ │ ├── cartService.js (4/25/2025)
|
|
│ │ │ ├── blogService.js (NEW - 4/29/2025)
|
|
│ │ │ ├── blogAdminService.js (NEW - 4/29/2025)
|
|
│ │ │ ├── authService.js (4/26/2025)
|
|
│ │ │ ├── api.js (4/24/2025)
|
|
│ │ │ └── adminService.js (4/26/2025)
|
|
│ │ ├── pages/
|
|
│ │ │ ├── Admin/
|
|
│ │ │ │ ├── SettingsPage.jsx (4/26/2025)
|
|
│ │ │ │ ├── ReportsPage.jsx (4/28/2025)
|
|
│ │ │ │ ├── ProductsPage.jsx (4/24/2025)
|
|
│ │ │ │ ├── ProductEditPage.jsx (4/28/2025)
|
|
│ │ │ │ ├── OrdersPage.jsx (4/26/2025)
|
|
│ │ │ │ ├── DashboardPage.jsx (4/28/2025)
|
|
│ │ │ │ ├── CustomersPage.jsx (4/26/2025)
|
|
│ │ │ │ ├── CouponsPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ │ ├── CategoriesPage.jsx (4/25/2025)
|
|
│ │ │ │ ├── BlogPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ │ └── BlogEditPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ ├── BlogCommentsPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ ├── VerifyPage.jsx (4/24/2025)
|
|
│ │ │ ├── UserOrdersPage.jsx (4/26/2025)
|
|
│ │ │ ├── RegisterPage.jsx (4/24/2025)
|
|
│ │ │ ├── ProductsPage.jsx (4/25/2025)
|
|
│ │ │ ├── ProductDetailPage.jsx (4/26/2025)
|
|
│ │ │ ├── PaymentSuccessPage.jsx (4/27/2025)
|
|
│ │ │ ├── PaymentCancelPage.jsx (4/26/2025)
|
|
│ │ │ ├── NotFoundPage.jsx (4/24/2025)
|
|
│ │ │ ├── LoginPage.jsx (4/24/2025)
|
|
│ │ │ ├── HomePage.jsx (4/25/2025)
|
|
│ │ │ ├── CouponRedemptionsPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ ├── CouponEditPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ ├── CheckoutPage.jsx (4/28/2025)
|
|
│ │ │ ├── CartPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ ├── BlogPage.jsx (NEW - 4/29/2025)
|
|
│ │ │ └── BlogDetailPage.jsx (NEW - 4/29/2025)
|
|
│ │ ├── layouts/
|
|
│ │ │ ├── MainLayout.jsx (4/29/2025)
|
|
│ │ │ ├── AuthLayout.jsx (4/24/2025)
|
|
│ │ │ └── AdminLayout.jsx (4/29/2025)
|
|
│ │ ├── hooks/
|
|
│ │ │ ├── settingsAdminHooks.js (4/25/2025)
|
|
│ │ │ ├── reduxHooks.js (4/26/2025)
|
|
│ │ │ ├── couponAdminHooks.js (NEW - 4/29/2025)
|
|
│ │ │ ├── categoryAdminHooks.js (4/24/2025)
|
|
│ │ │ ├── blogHooks.js (NEW - 4/29/2025)
|
|
│ │ │ ├── apiHooks.js (4/26/2025)
|
|
│ │ │ └── adminHooks.js (4/26/2025)
|
|
│ │ ├── features/
|
|
│ │ │ ├── ui/
|
|
│ │ │ │ └── uiSlice.js (4/24/2025)
|
|
│ │ │ ├── cart/
|
|
│ │ │ │ └── cartSlice.js (NEW - 4/29/2025)
|
|
│ │ │ └── auth/
|
|
│ │ │ └── authSlice.js (4/26/2025)
|
|
│ │ ├── context/
|
|
│ │ │ └── StripeContext.jsx (4/28/2025)
|
|
│ │ ├── components/
|
|
│ │ │ ├── StripePaymentForm.jsx (4/26/2025)
|
|
│ │ │ ├── ProtectedRoute.jsx (4/24/2025)
|
|
│ │ │ ├── ProductImage.jsx (4/24/2025)
|
|
│ │ │ ├── OrderStatusDialog.jsx (4/26/2025)
|
|
│ │ │ ├── Notifications.jsx (4/24/2025)
|
|
│ │ │ ├── ImageUploader.jsx (4/24/2025)
|
|
│ │ │ ├── Footer.jsx (4/25/2025)
|
|
│ │ │ ├── EmailDialog.jsx (4/25/2025)
|
|
│ │ │ └── CouponInput.jsx (NEW - 4/29/2025)
|
|
│ │ ├── assets/
|
|
│ │ │ ├── main.jsx (4/24/2025)
|
|
│ │ │ └── config.js (4/24/2025)
|
|
│ │ └── App.jsx (4/24/2025)
|
|
├── db/
|
|
│ ├── test/
|
|
│ └── init/
|
|
│ ├── 16-blog-schema.sql (NEW)
|
|
│ ├── 15-coupon.sql (NEW)
|
|
│ ├── 14-product-notifications.sql (NEW)
|
|
│ ├── 13-cart-metadata.sql
|
|
│ ├── 12-shipping-orders.sql
|
|
│ ├── 11-notifications.sql
|
|
│ ├── 10-payment.sql
|
|
│ ├── 09-system-settings.sql
|
|
│ ├── 08-create-email.sql
|
|
│ ├── 07-user-keys.sql
|
|
│ ├── 06-product-categories.sql
|
|
│ ├── 05-admin-role.sql
|
|
│ ├── 04-product-images.sql
|
|
│ ├── 03-api-key.sql
|
|
│ ├── 02-seed.sql
|
|
│ └── 01-schema.sql
|
|
├── backend/
|
|
│ ├── src/
|
|
│ │ ├── services/
|
|
│ │ │ ├── shippingService.js
|
|
│ │ │ └── notificationService.js
|
|
│ │ ├── routes/
|
|
│ │ │ ├── userOrders.js
|
|
│ │ │ ├── userAdmin.js
|
|
│ │ │ ├── stripePayment.js
|
|
│ │ │ ├── shipping.js
|
|
│ │ │ ├── settingsAdmin.js
|
|
│ │ │ ├── products.js
|
|
│ │ │ ├── productAdminImages.js
|
|
│ │ │ ├── productAdmin.js
|
|
│ │ │ ├── orderAdmin.js
|
|
│ │ │ ├── images.js
|
|
│ │ │ ├── couponAdmin.js (NEW - Large file: 18.7 KB)
|
|
│ │ │ ├── categoryAdmin.js
|
|
│ │ │ ├── cart.js (Updated - now 39.6 KB)
|
|
│ │ │ ├── blogCommentsAdmin.js (NEW)
|
|
│ │ │ ├── blogAdmin.js (NEW)
|
|
│ │ │ ├── blog.js (NEW)
|
|
│ │ │ └── auth.js
|
|
│ │ ├── models/
|
|
│ │ │ └── SystemSettings.js
|
|
│ │ ├── middleware/
|
|
│ │ │ ├── upload.js
|
|
│ │ │ ├── auth.js
|
|
│ │ │ └── adminAuth.js
|
|
│ │ └── db/
|
|
│ │ ├── index.js
|
|
│ │ ├── index.js
|
|
│ │ └── config.js
|
|
│ └── public/
|
|
│ └── uploads/
|
|
│ ├── products/
|
|
│ └── blog/ (NEW)
|
|
└── git/
|
|
├── fileStructure.txt
|
|
└── docker-compose.yml |