@webbycrown/webbycommerce 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +588 -0
  3. package/bin/setup-debug.log +6 -0
  4. package/bin/setup.js +157 -0
  5. package/dist/_chunks/Settings-BTffXkdF.mjs +31213 -0
  6. package/dist/_chunks/Settings-CHavEmCV.js +31253 -0
  7. package/dist/_chunks/en-CN5945VW.mjs +504 -0
  8. package/dist/_chunks/en-Dj8IzRXD.js +504 -0
  9. package/dist/_chunks/index-BFH1VuAA.mjs +85 -0
  10. package/dist/_chunks/index-DXM6qeJr.js +84 -0
  11. package/dist/admin/index.js +3 -0
  12. package/dist/admin/index.mjs +4 -0
  13. package/dist/data/demo-data.json +654 -0
  14. package/dist/robots.txt +3 -0
  15. package/dist/server/index.js +10734 -0
  16. package/dist/uploads/.gitkeep +0 -0
  17. package/dist/uploads/accessories_category_2a5631094b.jpeg +0 -0
  18. package/dist/uploads/beauty_personal_care_category_57f8a8f1e3.jpeg +0 -0
  19. package/dist/uploads/books_category_a9a253eada.jpeg +0 -0
  20. package/dist/uploads/classic_cotton_tshirt_1_cd713425f6.png +0 -0
  21. package/dist/uploads/clothing_category_d5c60ef07b.jpeg +0 -0
  22. package/dist/uploads/daviddoe_strapi_adbcd41787.jpeg +0 -0
  23. package/dist/uploads/electronics_category_fc3e5ef571.jpeg +0 -0
  24. package/dist/uploads/ergonomic_office_chair_1_c751cffb07.png +0 -0
  25. package/dist/uploads/home_garden_category_4f6eb3f8d6.jpeg +0 -0
  26. package/dist/uploads/istockphoto_1188462138_612x612_11f295b9c0.jpg +0 -0
  27. package/dist/uploads/istockphoto_1188462138_612x612_396fb272fd.jpg +0 -0
  28. package/dist/uploads/large_daviddoe_strapi_adbcd41787.jpeg +0 -0
  29. package/dist/uploads/leather_travel_backpack_1_238bc1ae4d.png +0 -0
  30. package/dist/uploads/mechanical_keyboard_pro_1_0cd391a6ac.png +0 -0
  31. package/dist/uploads/medium_classic_cotton_tshirt_1_cd713425f6.png +0 -0
  32. package/dist/uploads/medium_daviddoe_strapi_adbcd41787.jpeg +0 -0
  33. package/dist/uploads/medium_ergonomic_office_chair_1_c751cffb07.png +0 -0
  34. package/dist/uploads/medium_leather_travel_backpack_1_238bc1ae4d.png +0 -0
  35. package/dist/uploads/medium_mechanical_keyboard_pro_1_0cd391a6ac.png +0 -0
  36. package/dist/uploads/medium_smart_watch_series_5_1_cdc2511fb7.png +0 -0
  37. package/dist/uploads/medium_smartphone_x_pro_1_c3f0cbd080.png +0 -0
  38. package/dist/uploads/medium_the_great_gatsby_special_1_2e7c76d997.png +0 -0
  39. package/dist/uploads/medium_wireless_headphones_1_fa75cd50c3.png +0 -0
  40. package/dist/uploads/medium_yoga_mat_premium_1_01f9a3b5fa.png +0 -0
  41. package/dist/uploads/predictive_maintenance_icons_industry_automation_600nw_2685943461_e18a8aa3b0.webp +0 -0
  42. package/dist/uploads/small_classic_cotton_tshirt_1_cd713425f6.png +0 -0
  43. package/dist/uploads/small_daviddoe_strapi_adbcd41787.jpeg +0 -0
  44. package/dist/uploads/small_ergonomic_office_chair_1_c751cffb07.png +0 -0
  45. package/dist/uploads/small_leather_travel_backpack_1_238bc1ae4d.png +0 -0
  46. package/dist/uploads/small_mechanical_keyboard_pro_1_0cd391a6ac.png +0 -0
  47. package/dist/uploads/small_smart_watch_series_5_1_cdc2511fb7.png +0 -0
  48. package/dist/uploads/small_smartphone_x_pro_1_c3f0cbd080.png +0 -0
  49. package/dist/uploads/small_the_great_gatsby_special_1_2e7c76d997.png +0 -0
  50. package/dist/uploads/small_wireless_headphones_1_fa75cd50c3.png +0 -0
  51. package/dist/uploads/small_yoga_mat_premium_1_01f9a3b5fa.png +0 -0
  52. package/dist/uploads/smart_watch_series_5_1_cdc2511fb7.png +0 -0
  53. package/dist/uploads/smartphone_x_pro_1_c3f0cbd080.png +0 -0
  54. package/dist/uploads/the_great_gatsby_special_1_2e7c76d997.png +0 -0
  55. package/dist/uploads/thumbnail_accessories_category_2a5631094b.jpeg +0 -0
  56. package/dist/uploads/thumbnail_beauty_personal_care_category_57f8a8f1e3.jpeg +0 -0
  57. package/dist/uploads/thumbnail_books_category_a9a253eada.jpeg +0 -0
  58. package/dist/uploads/thumbnail_classic_cotton_tshirt_1_cd713425f6.png +0 -0
  59. package/dist/uploads/thumbnail_clothing_category_d5c60ef07b.jpeg +0 -0
  60. package/dist/uploads/thumbnail_daviddoe_strapi_adbcd41787.jpeg +0 -0
  61. package/dist/uploads/thumbnail_electronics_category_fc3e5ef571.jpeg +0 -0
  62. package/dist/uploads/thumbnail_ergonomic_office_chair_1_c751cffb07.png +0 -0
  63. package/dist/uploads/thumbnail_home_garden_category_4f6eb3f8d6.jpeg +0 -0
  64. package/dist/uploads/thumbnail_istockphoto_1188462138_612x612_11f295b9c0.jpg +0 -0
  65. package/dist/uploads/thumbnail_istockphoto_1188462138_612x612_396fb272fd.jpg +0 -0
  66. package/dist/uploads/thumbnail_leather_travel_backpack_1_238bc1ae4d.png +0 -0
  67. package/dist/uploads/thumbnail_mechanical_keyboard_pro_1_0cd391a6ac.png +0 -0
  68. package/dist/uploads/thumbnail_predictive_maintenance_icons_industry_automation_600nw_2685943461_e18a8aa3b0.webp +0 -0
  69. package/dist/uploads/thumbnail_smart_watch_series_5_1_cdc2511fb7.png +0 -0
  70. package/dist/uploads/thumbnail_smartphone_x_pro_1_c3f0cbd080.png +0 -0
  71. package/dist/uploads/thumbnail_the_great_gatsby_special_1_2e7c76d997.png +0 -0
  72. package/dist/uploads/thumbnail_wireless_headphones_1_fa75cd50c3.png +0 -0
  73. package/dist/uploads/thumbnail_yoga_mat_premium_1_01f9a3b5fa.png +0 -0
  74. package/dist/uploads/webby-commerce.png +0 -0
  75. package/dist/uploads/wireless_headphones_1_fa75cd50c3.png +0 -0
  76. package/dist/uploads/yoga_mat_premium_1_01f9a3b5fa.png +0 -0
  77. package/package.json +81 -0
  78. package/strapi-server.js +9 -0
@@ -0,0 +1,654 @@
1
+ {
2
+ "categories": [
3
+ {
4
+ "name": "Electronics",
5
+ "slug": "electronics",
6
+ "description": "Latest gadgets and electronics",
7
+ "image": "https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=400&h=300&fit=crop&crop=center"
8
+ },
9
+ {
10
+ "name": "Clothing",
11
+ "slug": "clothing",
12
+ "description": "Fashionable apparel for everyone",
13
+ "image": "https://images.unsplash.com/photo-1445205170230-053b83016050?w=400&h=300&fit=crop&crop=center"
14
+ },
15
+ {
16
+ "name": "Accessories",
17
+ "slug": "accessories",
18
+ "description": "Stylish accessories to complete your look",
19
+ "image": "https://images.unsplash.com/photo-1553062407-98eeb64c6a62?w=400&h=300&fit=crop&crop=center"
20
+ },
21
+ {
22
+ "name": "Home & Garden",
23
+ "slug": "home-garden",
24
+ "description": "Decor and essentials for your home",
25
+ "image": "https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=400&h=300&fit=crop&crop=center"
26
+ },
27
+ {
28
+ "name": "Sports & Outdoors",
29
+ "slug": "sports-outdoors",
30
+ "description": "Gear for your active lifestyle",
31
+ "image": "https://images.unsplash.com/photo-1544966503-7cc5ac882d5a?w=400&h=300&fit=crop&crop=center"
32
+ },
33
+ {
34
+ "name": "Books",
35
+ "slug": "books",
36
+ "description": "A wide variety of books and literature",
37
+ "image": "https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=400&h=300&fit=crop&crop=center"
38
+ },
39
+ {
40
+ "name": "Beauty & Personal Care",
41
+ "slug": "beauty-personal-care",
42
+ "description": "Products for your daily beauty routine",
43
+ "image": "https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=400&h=300&fit=crop&crop=center"
44
+ }
45
+ ],
46
+ "tags": [
47
+ {
48
+ "name": "New Arrival",
49
+ "slug": "new-arrival"
50
+ },
51
+ {
52
+ "name": "Bestseller",
53
+ "slug": "bestseller"
54
+ },
55
+ {
56
+ "name": "Sale",
57
+ "slug": "sale"
58
+ },
59
+ {
60
+ "name": "Featured",
61
+ "slug": "featured"
62
+ },
63
+ {
64
+ "name": "Limited Edition",
65
+ "slug": "limited-edition"
66
+ },
67
+ {
68
+ "name": "Eco-Friendly",
69
+ "slug": "eco-friendly"
70
+ },
71
+ {
72
+ "name": "Trending",
73
+ "slug": "trending"
74
+ }
75
+ ],
76
+ "attributes": [
77
+ {
78
+ "name": "Color",
79
+ "display_name": "Color",
80
+ "slug": "color",
81
+ "type": "select",
82
+ "values": [
83
+ "Red",
84
+ "Blue",
85
+ "Green",
86
+ "Black",
87
+ "White",
88
+ "Grey",
89
+ "Navy"
90
+ ]
91
+ },
92
+ {
93
+ "name": "Size",
94
+ "display_name": "Size",
95
+ "slug": "size",
96
+ "type": "select",
97
+ "values": [
98
+ "Small",
99
+ "Medium",
100
+ "Large",
101
+ "XL",
102
+ "XXL"
103
+ ]
104
+ },
105
+ {
106
+ "name": "Material",
107
+ "display_name": "Material",
108
+ "slug": "material",
109
+ "type": "select",
110
+ "values": [
111
+ "Cotton",
112
+ "Polyester",
113
+ "Wool",
114
+ "Leather",
115
+ "Metal"
116
+ ]
117
+ }
118
+ ],
119
+ "product_variations": [
120
+ {
121
+ "name": "Smartphone X Pro - Black - XL",
122
+ "slug": "smartphone-x-pro-black-xl",
123
+ "product": "smartphone-x-pro",
124
+ "sku": "SP-X-PRO-BLK-XL",
125
+ "price": 1049.99,
126
+ "stock_quantity": 10,
127
+ "stock_status": "in_stock",
128
+ "attributes": {
129
+ "color": "Black",
130
+ "size": "XL"
131
+ }
132
+ },
133
+ {
134
+ "name": "Smartphone X Pro - Silver - L",
135
+ "slug": "smartphone-x-pro-silver-l",
136
+ "product": "smartphone-x-pro",
137
+ "sku": "SP-X-PRO-SLV-L",
138
+ "price": 999.99,
139
+ "stock_quantity": 15,
140
+ "stock_status": "in_stock",
141
+ "attributes": {
142
+ "color": "White",
143
+ "size": "Large"
144
+ }
145
+ },
146
+ {
147
+ "name": "Classic Cotton T-Shirt - Blue - M",
148
+ "slug": "classic-cotton-tshirt-blue-m",
149
+ "product": "classic-cotton-tshirt",
150
+ "sku": "CT-TS-BLU-M",
151
+ "price": 19.99,
152
+ "sale_price": 14.99,
153
+ "stock_quantity": 50,
154
+ "stock_status": "in_stock",
155
+ "attributes": {
156
+ "color": "Blue",
157
+ "size": "Medium"
158
+ }
159
+ }
160
+ ],
161
+ "coupons": [
162
+ {
163
+ "code": "WELCOME2026",
164
+ "type": "percentage",
165
+ "value": 10.0,
166
+ "description": "10% off for new users",
167
+ "usage_limit": 100,
168
+ "is_active": true,
169
+ "expires_at": "2026-12-31T23:59:59Z"
170
+ },
171
+ {
172
+ "code": "FREESHIP",
173
+ "type": "fixed",
174
+ "value": 15.0,
175
+ "description": "Free shipping discount",
176
+ "usage_limit": 500,
177
+ "is_active": true,
178
+ "expires_at": "2026-06-30T23:59:59Z"
179
+ },
180
+ {
181
+ "code": "SUMMER15",
182
+ "type": "percentage",
183
+ "value": 15,
184
+ "usage_limit": 200,
185
+ "is_active": true,
186
+ "expires_at": "2026-06-30T23:59:59Z"
187
+ },
188
+ {
189
+ "code": "FLAT20",
190
+ "type": "fixed",
191
+ "value": 20,
192
+ "usage_limit": 50,
193
+ "is_active": true,
194
+ "expires_at": "2026-06-30T23:59:59Z"
195
+ },
196
+ {
197
+ "code": "VIP30",
198
+ "type": "percentage",
199
+ "value": 30,
200
+ "usage_limit": 25,
201
+ "is_active": true,
202
+ "expires_at": "2026-06-30T23:59:59Z"
203
+ }
204
+
205
+ ],
206
+ "users": [
207
+ {
208
+ "username": "johndoe",
209
+ "email": "john.doe@example.com",
210
+ "password": "password123",
211
+ "confirmed": true,
212
+ "blocked": false,
213
+ "firstName": "John",
214
+ "lastName": "Doe"
215
+ },
216
+ {
217
+ "username": "janesmith",
218
+ "email": "jane.smith@example.com",
219
+ "password": "password123",
220
+ "confirmed": true,
221
+ "blocked": false,
222
+ "firstName": "Jane",
223
+ "lastName": "Smith"
224
+ },
225
+ {
226
+ "username": "admin",
227
+ "email": "admin@webbycrown.com",
228
+ "password": "admin123",
229
+ "confirmed": true,
230
+ "blocked": false,
231
+ "firstName": "Admin",
232
+ "lastName": "User"
233
+ }
234
+ ],
235
+ "addresses": [
236
+ {
237
+ "type": 0,
238
+ "first_name": "John",
239
+ "last_name": "Doe",
240
+ "company_name": "WebbyCrown",
241
+ "country": "US",
242
+ "region": "NY",
243
+ "city": "New York",
244
+ "street_address": "123 Broadway St",
245
+ "postcode": "10001",
246
+ "phone": "+1234567890",
247
+ "email_address": "john.doe@example.com"
248
+ },
249
+ {
250
+ "type": 1,
251
+ "first_name": "Jane",
252
+ "last_name": "Smith",
253
+ "country": "GB",
254
+ "region": "London",
255
+ "city": "London",
256
+ "street_address": "10 Downing St",
257
+ "postcode": "SW1A 2AA",
258
+ "phone": "+442079460000",
259
+ "email_address": "jane.smith@example.com"
260
+ }
261
+ ],
262
+ "products": [
263
+ {
264
+ "name": "Smartphone X Pro",
265
+ "slug": "smartphone-x-pro",
266
+ "description": "High-performance smartphone with advanced camera features.",
267
+ "price": 999.99,
268
+ "sale_price": 899.99,
269
+ "sku": "SP-X-PRO-001",
270
+ "stock_quantity": 50,
271
+ "stock_status": "in_stock",
272
+ "weight": 0.2,
273
+ "images": [
274
+ {
275
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Smartphone+X+Pro",
276
+ "alternativeText": "Smartphone X Pro"
277
+ }
278
+ ],
279
+ "categories": [
280
+ "electronics"
281
+ ],
282
+ "tags": [
283
+ "new-arrival",
284
+ "bestseller"
285
+ ]
286
+ },
287
+ {
288
+ "name": "Wireless Noise Cancelling Headphones",
289
+ "slug": "wireless-headphones",
290
+ "description": "Premium wireless headphones with industry-leading noise cancellation.",
291
+ "price": 349.99,
292
+ "sku": "WH-NC-002",
293
+ "stock_quantity": 100,
294
+ "stock_status": "in_stock",
295
+ "weight": 0.3,
296
+ "images": [
297
+ {
298
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Wireless+Headphones",
299
+ "alternativeText": "Wireless Noise Cancelling Headphones"
300
+ }
301
+ ],
302
+ "categories": [
303
+ "electronics"
304
+ ],
305
+ "tags": [
306
+ "bestseller"
307
+ ]
308
+ },
309
+ {
310
+ "name": "Classic Cotton T-Shirt",
311
+ "slug": "classic-cotton-tshirt",
312
+ "description": "Comfortable and durable 100% cotton t-shirt.",
313
+ "price": 19.99,
314
+ "sale_price": 14.99,
315
+ "sku": "CT-TS-003",
316
+ "stock_quantity": 200,
317
+ "stock_status": "in_stock",
318
+ "weight": 0.15,
319
+ "images": [
320
+ {
321
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Classic+Cotton+T-Shirt",
322
+ "alternativeText": "Classic Cotton T-Shirt"
323
+ }
324
+ ],
325
+ "categories": [
326
+ "clothing"
327
+ ],
328
+ "tags": [
329
+ "sale"
330
+ ]
331
+ },
332
+ {
333
+ "name": "Smart Watch Series 5",
334
+ "slug": "smart-watch-series-5",
335
+ "description": "Stay connected and track your fitness with the latest smart watch.",
336
+ "price": 399.99,
337
+ "sku": "SW-S5-004",
338
+ "stock_quantity": 75,
339
+ "stock_status": "in_stock",
340
+ "weight": 0.05,
341
+ "images": [
342
+ {
343
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Smart+Watch+Series+5",
344
+ "alternativeText": "Smart Watch Series 5"
345
+ }
346
+ ],
347
+ "categories": [
348
+ "electronics",
349
+ "accessories"
350
+ ],
351
+ "tags": [
352
+ "new-arrival"
353
+ ]
354
+ },
355
+ {
356
+ "name": "Ergonomic Office Chair",
357
+ "slug": "ergonomic-office-chair",
358
+ "description": "High-back ergonomic chair with lumbar support and mesh back.",
359
+ "price": 249.99,
360
+ "sku": "FUR-CH-005",
361
+ "stock_quantity": 30,
362
+ "stock_status": "in_stock",
363
+ "weight": 15.0,
364
+ "images": [
365
+ {
366
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Ergonomic+Office+Chair",
367
+ "alternativeText": "Ergonomic Office Chair"
368
+ }
369
+ ],
370
+ "categories": [
371
+ "home-garden"
372
+ ],
373
+ "tags": [
374
+ "featured"
375
+ ]
376
+ },
377
+ {
378
+ "name": "Yoga Mat Premium",
379
+ "slug": "yoga-mat-premium",
380
+ "description": "Non-slip eco-friendly yoga mat for your daily workout.",
381
+ "price": 45.00,
382
+ "sku": "SPT-YG-006",
383
+ "stock_quantity": 150,
384
+ "stock_status": "in_stock",
385
+ "weight": 1.0,
386
+ "images": [
387
+ {
388
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Yoga+Mat+Premium",
389
+ "alternativeText": "Yoga Mat Premium"
390
+ }
391
+ ],
392
+ "categories": [
393
+ "sports-outdoors"
394
+ ],
395
+ "tags": [
396
+ "bestseller",
397
+ "eco-friendly"
398
+ ]
399
+ },
400
+ {
401
+ "name": "Mechanical Keyboard Pro",
402
+ "slug": "mechanical-keyboard-pro",
403
+ "description": "RGB backlit mechanical keyboard with tactile switches.",
404
+ "price": 129.99,
405
+ "sku": "ELEC-KB-007",
406
+ "stock_quantity": 45,
407
+ "stock_status": "in_stock",
408
+ "weight": 1.2,
409
+ "images": [
410
+ {
411
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Mechanical+Keyboard+Pro",
412
+ "alternativeText": "Mechanical Keyboard Pro"
413
+ }
414
+ ],
415
+ "categories": [
416
+ "electronics",
417
+ "accessories"
418
+ ],
419
+ "tags": [
420
+ "trending"
421
+ ]
422
+ },
423
+ {
424
+ "name": "Leather Travel Backpack",
425
+ "slug": "leather-travel-backpack",
426
+ "description": "Spacious and stylish leather backpack for all your travel needs.",
427
+ "price": 89.99,
428
+ "sku": "ACC-BP-008",
429
+ "stock_quantity": 25,
430
+ "stock_status": "in_stock",
431
+ "weight": 1.5,
432
+ "images": [
433
+ {
434
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=Leather+Travel+Backpack",
435
+ "alternativeText": "Leather Travel Backpack"
436
+ }
437
+ ],
438
+ "categories": [
439
+ "accessories"
440
+ ],
441
+ "tags": [
442
+ "featured"
443
+ ]
444
+ },
445
+ {
446
+ "name": "The Great Gatsby - Special Edition",
447
+ "slug": "the-great-gatsby-special",
448
+ "description": "A classic novel with a beautiful limited edition cover.",
449
+ "price": 24.99,
450
+ "sku": "BK-GG-009",
451
+ "stock_quantity": 60,
452
+ "stock_status": "in_stock",
453
+ "weight": 0.4,
454
+ "images": [
455
+ {
456
+ "url": "https://dummyimage.com/800x800/eeeeee/111111.png&text=The+Great+Gatsby",
457
+ "alternativeText": "The Great Gatsby - Special Edition"
458
+ }
459
+ ],
460
+ "categories": [
461
+ "books"
462
+ ],
463
+ "tags": [
464
+ "limited-edition"
465
+ ]
466
+ }
467
+ ],
468
+ "orders": [
469
+ {
470
+ "order_number": "ORD-2026-0001",
471
+ "status": "processing",
472
+ "subtotal": 899.99,
473
+ "tax_amount": 72.00,
474
+ "shipping_amount": 15.00,
475
+ "total": 986.99,
476
+ "currency": "USD",
477
+ "user": 1,
478
+ "payment_status": "paid",
479
+ "payment_method": "Stripe",
480
+ "billing_address": 1,
481
+ "shipping_address": 1
482
+ },
483
+ {
484
+ "order_number": "ORD-2026-0002",
485
+ "status": "delivered",
486
+ "subtotal": 349.99,
487
+ "tax_amount": 28.00,
488
+ "shipping_amount": 0.00,
489
+ "total": 377.99,
490
+ "currency": "USD",
491
+ "user": 2,
492
+ "payment_status": "paid",
493
+ "payment_method": "PayPal",
494
+ "billing_address": 1,
495
+ "shipping_address": 1
496
+ }
497
+
498
+ ],
499
+ "payment_transactions": [
500
+ {
501
+ "transaction_id": "TXN_987654321",
502
+ "payment_method": "Stripe",
503
+ "amount": 986.99,
504
+ "currency": "USD",
505
+ "status": "completed",
506
+ "processed_at": "2026-01-20T10:00:00Z"
507
+ },
508
+ {
509
+ "transaction_id": "TXN_112233445",
510
+ "payment_method": "PayPal",
511
+ "amount": 377.99,
512
+ "currency": "USD",
513
+ "status": "completed",
514
+ "processed_at": "2026-01-20T11:30:00Z"
515
+ }
516
+ ],
517
+ "shipping_rules": [
518
+ {
519
+ "name": "Free Shipping over $100",
520
+ "rule_type": "discount",
521
+ "condition_type": "order_total",
522
+ "condition_operator": "greater_than",
523
+ "condition_value": 100.0,
524
+ "action_type": "set_rate",
525
+ "action_value": 0.0,
526
+ "is_active": true
527
+ },
528
+ {
529
+ "name": "Heavy Item Surcharge",
530
+ "rule_type": "surcharge",
531
+ "condition_type": "product_weight",
532
+ "condition_operator": "greater_than",
533
+ "condition_value": 10.0,
534
+ "action_type": "add_fee",
535
+ "action_value": 20.0,
536
+ "is_active": true
537
+ }
538
+ ],
539
+
540
+ "compares": [
541
+ {
542
+ "userId": 2,
543
+ "userEmail": "john.doe@example.com",
544
+ "name": "Smartphone Comparison",
545
+ "products": ["smartphone-x-pro", "wireless-headphones", "smart-watch-series-5", "mechanical-keyboard-pro"]
546
+ }
547
+ ],
548
+ "wishlists": [
549
+ {
550
+ "userEmail": "john.doe@example.com",
551
+ "name": "John's Wishlist",
552
+ "description": "Products John wants to buy later",
553
+ "isPublic": false,
554
+ "products": ["smartphone-x-pro", "wireless-headphones", "mechanical-keyboard-pro"]
555
+ },
556
+ {
557
+ "userEmail": "jane.smith@example.com",
558
+ "name": "Jane's Wishlist",
559
+ "description": "Jane's favorite picks",
560
+ "isPublic": false,
561
+ "products": ["classic-cotton-tshirt", "yoga-mat-premium"]
562
+ }
563
+ ],
564
+ "carts": [
565
+ {
566
+ "userEmail": "john.doe@example.com",
567
+ "currency": "USD",
568
+ "items": [
569
+ { "product": "wireless-headphones", "quantity": 1 },
570
+ { "product": "classic-cotton-tshirt", "quantity": 2 }
571
+ ]
572
+ },
573
+ {
574
+ "userEmail": "jane.smith@example.com",
575
+ "currency": "USD",
576
+ "items": [
577
+ { "product": "yoga-mat-premium", "quantity": 1 }
578
+ ]
579
+ }
580
+ ],
581
+ "cart_items": [
582
+ {
583
+ "product": 2,
584
+ "quantity": 2,
585
+ "unit_price": 349.99,
586
+ "total_price": 699.98,
587
+ "added_at": "2026-01-20T09:30:00Z",
588
+ "user": 8
589
+ }
590
+ ],
591
+ "shipping_zones": [
592
+ {
593
+ "name": "Domestic",
594
+ "location": {
595
+ "countries": "US,CA"
596
+ },
597
+ "methods": [
598
+ {
599
+ "name": "Standard Shipping",
600
+ "description": "3-5 business days",
601
+ "carrier": "Standard",
602
+ "service_type": "Ground",
603
+ "rates": [
604
+ {
605
+ "name": "Flat Rate",
606
+ "condition_type": "price",
607
+ "min_value": 0,
608
+ "rate": 5.99,
609
+ "currency": "USD"
610
+ }
611
+ ]
612
+ },
613
+ {
614
+ "name": "Express Shipping",
615
+ "description": "1-2 business days",
616
+ "carrier": "Express",
617
+ "service_type": "Air",
618
+ "rates": [
619
+ {
620
+ "name": "Flat Rate",
621
+ "condition_type": "price",
622
+ "min_value": 0,
623
+ "rate": 15.99,
624
+ "currency": "USD"
625
+ }
626
+ ]
627
+ }
628
+ ]
629
+ },
630
+ {
631
+ "name": "International",
632
+ "location": {
633
+ "countries": "GB,FR,DE,IT,ES"
634
+ },
635
+ "methods": [
636
+ {
637
+ "name": "International Shipping",
638
+ "description": "7-14 business days",
639
+ "carrier": "International",
640
+ "service_type": "Economy",
641
+ "rates": [
642
+ {
643
+ "name": "Flat Rate",
644
+ "condition_type": "price",
645
+ "min_value": 0,
646
+ "rate": 25.00,
647
+ "currency": "USD"
648
+ }
649
+ ]
650
+ }
651
+ ]
652
+ }
653
+ ]
654
+ }
@@ -0,0 +1,3 @@
1
+ # To prevent search engines from seeing the site altogether, uncomment the next two lines:
2
+ # User-Agent: *
3
+ # Disallow: /