140 lines
No EOL
5.1 KiB
Text
140 lines
No EOL
5.1 KiB
Text
ROCKS/
|
|
├── backend/
|
|
│ ├── src/
|
|
│ │ ├── services/
|
|
│ │ │ ├── shippingService.js
|
|
│ │ ├── routes/
|
|
│ │ │ ├── shipping.js
|
|
│ │ │ ├── settingsAdmin.js
|
|
│ │ │ ├── cart.js
|
|
│ │ │ ├── userOrders.js
|
|
│ │ │ ├── orderAdmin.js
|
|
│ │ │ ├── stripePayment.js
|
|
│ │ │ ├── auth.js
|
|
│ │ │ ├── userAdmin.js
|
|
│ │ │ ├── products.js
|
|
│ │ │ ├── categoryAdmin.js
|
|
│ │ │ ├── productAdminImages.js
|
|
│ │ │ ├── images.js
|
|
│ │ │ └── productAdmin.js
|
|
│ │ ├── models/
|
|
│ │ │ └── SystemSettings.js
|
|
│ │ ├── middleware/
|
|
│ │ │ ├── upload.js
|
|
│ │ │ ├── auth.js
|
|
│ │ │ └── adminAuth.js
|
|
│ │ └── db/
|
|
│ │ └── index.js
|
|
│ ├── index.js
|
|
│ ├── config.js
|
|
│ ├── node_modules/
|
|
│ ├── public/
|
|
│ │ └── uploads/
|
|
│ │ └── products/
|
|
│ ├── package.json
|
|
│ ├── package-lock.json
|
|
│ ├── .env
|
|
│ ├── Dockerfile
|
|
│ ├── README.md
|
|
│ └── .gitignore
|
|
├── frontend/
|
|
│ ├── node_modules/
|
|
│ ├── src/
|
|
│ │ ├── pages/
|
|
│ │ │ ├── Admin/
|
|
│ │ │ │ ├── OrdersPage.jsx
|
|
│ │ │ │ ├── SettingsPage.jsx
|
|
│ │ │ │ ├── CustomersPage.jsx
|
|
│ │ │ │ ├── ProductEditPage.jsx
|
|
│ │ │ │ ├── DashboardPage.jsx
|
|
│ │ │ │ ├── CategoriesPage.jsx
|
|
│ │ │ │ └── ProductsPage.jsx
|
|
│ │ │ ├── CheckoutPage.jsx
|
|
│ │ │ ├── PaymentSuccessPage.jsx
|
|
│ │ │ ├── UserOrdersPage.jsx
|
|
│ │ │ ├── PaymentCancelPage.jsx
|
|
│ │ │ ├── ProductDetailPage.jsx
|
|
│ │ │ ├── CartPage.jsx
|
|
│ │ │ ├── ProductsPage.jsx
|
|
│ │ │ ├── HomePage.jsx
|
|
│ │ │ ├── VerifyPage.jsx
|
|
│ │ │ ├── RegisterPage.jsx
|
|
│ │ │ ├── NotFoundPage.jsx
|
|
│ │ │ └── LoginPage.jsx
|
|
│ │ ├── services/
|
|
│ │ │ ├── adminService.js
|
|
│ │ │ ├── authService.js
|
|
│ │ │ ├── settingsAdminService.js
|
|
│ │ │ ├── cartService.js
|
|
│ │ │ ├── categoryAdminService.js
|
|
│ │ │ ├── imageService.js
|
|
│ │ │ ├── productService.js
|
|
│ │ │ └── api.js
|
|
│ │ ├── components/
|
|
│ │ │ ├── OrderStatusDialog.jsx
|
|
│ │ │ ├── StripePaymentForm.jsx
|
|
│ │ │ ├── EmailDialog.jsx
|
|
│ │ │ ├── Footer.jsx
|
|
│ │ │ ├── ImageUploader.jsx
|
|
│ │ │ ├── ProductImage.jsx
|
|
│ │ │ ├── ProtectedRoute.jsx
|
|
│ │ │ └── Notifications.jsx
|
|
│ │ ├── context/
|
|
│ │ │ └── StripeContext.jsx
|
|
│ │ ├── hooks/
|
|
│ │ │ ├── apiHooks.js
|
|
│ │ │ ├── adminHooks.js
|
|
│ │ │ ├── reduxHooks.js
|
|
│ │ │ ├── settingsAdminHooks.js
|
|
│ │ │ └── categoryAdminHooks.js
|
|
│ │ ├── utils/
|
|
│ │ │ └── imageUtils.js
|
|
│ │ ├── layouts/
|
|
│ │ │ ├── MainLayout.jsx
|
|
│ │ │ ├── AdminLayout.jsx
|
|
│ │ │ └── AuthLayout.jsx
|
|
│ │ ├── theme/
|
|
│ │ │ ├── index.js
|
|
│ │ │ └── ThemeProvider.jsx
|
|
│ │ ├── features/
|
|
│ │ │ ├── ui/
|
|
│ │ │ │ └── uiSlice.js
|
|
│ │ │ ├── cart/
|
|
│ │ │ │ └── cartSlice.js
|
|
│ │ │ ├── auth/
|
|
│ │ │ │ └── authSlice.js
|
|
│ │ │ └── store/
|
|
│ │ │ └── index.js
|
|
│ │ ├── assets/
|
|
│ │ ├── App.jsx
|
|
│ │ ├── config.js
|
|
│ │ └── main.jsx
|
|
│ ├── public/
|
|
│ │ ├── favicon.svg
|
|
│ │ └── index.html
|
|
│ ├── package-lock.json
|
|
│ ├── package.json
|
|
│ ├── vite.config.js
|
|
│ ├── Dockerfile
|
|
│ ├── nginx.conf
|
|
│ ├── README.md
|
|
│ ├── .env
|
|
│ └── setup-frontend.sh
|
|
├── db/
|
|
│ └── init/
|
|
│ ├── 12-shipping-orders.sql
|
|
│ ├── 09-system-settings.sql
|
|
│ ├── 11-notifications.sql
|
|
│ ├── 10-payment.sql
|
|
│ ├── 08-create-email.sql
|
|
│ ├── 07-user-keys.sql
|
|
│ ├── 06-product-categories.sql
|
|
│ ├── 05-admin-role.sql
|
|
│ ├── 02-seed.sql
|
|
│ ├── 04-product-images.sql
|
|
│ ├── 03-api-key.sql
|
|
│ └── 01-schema.sql
|
|
├── test/
|
|
├── fileStructure.txt
|
|
├── docker-compose.yml
|
|
└── .gitignore |