inventrack 3.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 (55) hide show
  1. package/README.md +25 -0
  2. package/api/index.js +13 -0
  3. package/backend/README.md +35 -0
  4. package/backend/data/db.json +1239 -0
  5. package/backend/package-lock.json +532 -0
  6. package/backend/package.json +8 -0
  7. package/frontend/README.md +22 -0
  8. package/frontend/assets/Icon.png +0 -0
  9. package/frontend/assets/IconSort.png +0 -0
  10. package/frontend/assets/activity-1.png +0 -0
  11. package/frontend/assets/activity-2.png +0 -0
  12. package/frontend/assets/activity-3.png +0 -0
  13. package/frontend/assets/activity-4.png +0 -0
  14. package/frontend/assets/card-icon-1.png +0 -0
  15. package/frontend/assets/card-icon-2.png +0 -0
  16. package/frontend/assets/card-icon-3.png +0 -0
  17. package/frontend/assets/card-icon-4.png +0 -0
  18. package/frontend/assets/login.png +0 -0
  19. package/frontend/assets/logo.png +0 -0
  20. package/frontend/categories.html +143 -0
  21. package/frontend/css/all.min.css +9 -0
  22. package/frontend/css/bootstrap.min.css +6 -0
  23. package/frontend/css/categories.css +359 -0
  24. package/frontend/css/dashboard.css +373 -0
  25. package/frontend/css/inventoryInsights.css +308 -0
  26. package/frontend/css/inventoryOverview.css +353 -0
  27. package/frontend/css/orders.css +632 -0
  28. package/frontend/css/products.css +364 -0
  29. package/frontend/css/signin.css +120 -0
  30. package/frontend/css/style.css +282 -0
  31. package/frontend/css/suppliers.css +136 -0
  32. package/frontend/dashboard.html +160 -0
  33. package/frontend/index.html +124 -0
  34. package/frontend/inventoryInsights.html +182 -0
  35. package/frontend/inventoryOverview.html +187 -0
  36. package/frontend/js/api.js +55 -0
  37. package/frontend/js/auth.js +70 -0
  38. package/frontend/js/bootstrap.bundle.min.js +7 -0
  39. package/frontend/js/categories.js +356 -0
  40. package/frontend/js/dashboard.js +341 -0
  41. package/frontend/js/inventoryInsights.js +396 -0
  42. package/frontend/js/inventoryOverview.js +503 -0
  43. package/frontend/js/orders.js +662 -0
  44. package/frontend/js/products.js +650 -0
  45. package/frontend/js/suppliers.js +535 -0
  46. package/frontend/js/utils.js +234 -0
  47. package/frontend/orders.html +216 -0
  48. package/frontend/products.html +152 -0
  49. package/frontend/suppliers.html +175 -0
  50. package/frontend/webfonts/fa-brands-400.woff2 +0 -0
  51. package/frontend/webfonts/fa-regular-400.woff2 +0 -0
  52. package/frontend/webfonts/fa-solid-900.woff2 +0 -0
  53. package/frontend/webfonts/fa-v4compatibility.woff2 +0 -0
  54. package/package.json +38 -0
  55. package/vercel.json +18 -0
@@ -0,0 +1,1239 @@
1
+ {
2
+ "products": [
3
+ {
4
+ "id": "2",
5
+ "name": "Mechanical Keyboard",
6
+ "sku": "P-002",
7
+ "categoryId": 1,
8
+ "supplierId": 2,
9
+ "price": 1200,
10
+ "cost": 950,
11
+ "quantity": 8,
12
+ "minStock": 10,
13
+ "status": "low_stock",
14
+ "description": "RGB keyboard",
15
+ "createdAt": "2026-03-22"
16
+ },
17
+ {
18
+ "id": "3",
19
+ "name": "Gaming Headset",
20
+ "sku": "P-003",
21
+ "categoryId": 1,
22
+ "supplierId": 3,
23
+ "price": 800,
24
+ "cost": 600,
25
+ "quantity": 25,
26
+ "minStock": 10,
27
+ "status": "in_stock",
28
+ "description": "Surround sound headset",
29
+ "createdAt": "2026-03-22"
30
+ },
31
+ {
32
+ "id": "4",
33
+ "name": "USB Flash 32GB",
34
+ "sku": "P-004",
35
+ "categoryId": 1,
36
+ "supplierId": 4,
37
+ "price": 150,
38
+ "cost": 100,
39
+ "quantity": 5,
40
+ "minStock": 10,
41
+ "status": "low_stock",
42
+ "description": "Portable storage",
43
+ "createdAt": "2026-03-22"
44
+ },
45
+ {
46
+ "id": "5",
47
+ "name": "LED Monitor 24\"",
48
+ "sku": "P-005",
49
+ "categoryId": 2,
50
+ "supplierId": 5,
51
+ "price": 3000,
52
+ "cost": 2500,
53
+ "quantity": 12,
54
+ "minStock": 5,
55
+ "status": "in_stock",
56
+ "description": "Full HD monitor",
57
+ "createdAt": "2026-03-22"
58
+ },
59
+ {
60
+ "id": "6",
61
+ "name": "Curved Monitor 27\"",
62
+ "sku": "P-006",
63
+ "categoryId": 2,
64
+ "supplierId": 6,
65
+ "price": 5000,
66
+ "cost": 4200,
67
+ "quantity": 3,
68
+ "minStock": 5,
69
+ "status": "low_stock",
70
+ "description": "Curved display",
71
+ "createdAt": "2026-03-22"
72
+ },
73
+ {
74
+ "id": "7",
75
+ "name": "Laptop Core i5",
76
+ "sku": "P-007",
77
+ "categoryId": 3,
78
+ "supplierId": 1,
79
+ "price": 15000,
80
+ "cost": 13500,
81
+ "quantity": 7,
82
+ "minStock": 5,
83
+ "status": "in_stock",
84
+ "description": "Mid-range laptop",
85
+ "createdAt": "2026-03-22"
86
+ },
87
+ {
88
+ "id": "8",
89
+ "name": "Laptop Core i7",
90
+ "sku": "P-008",
91
+ "categoryId": 3,
92
+ "supplierId": 2,
93
+ "price": 22000,
94
+ "cost": 20000,
95
+ "quantity": 12,
96
+ "minStock": 5,
97
+ "status": "in_stock",
98
+ "description": "High performance laptop",
99
+ "createdAt": "2026-03-22",
100
+ "createdBy": "Karim Tarek"
101
+ },
102
+ {
103
+ "id": "9",
104
+ "name": "Office Chair",
105
+ "sku": "P-009",
106
+ "categoryId": 4,
107
+ "supplierId": 3,
108
+ "price": 2000,
109
+ "cost": 1500,
110
+ "quantity": 20,
111
+ "minStock": 5,
112
+ "status": "in_stock",
113
+ "description": "Ergonomic chair",
114
+ "createdAt": "2026-03-22"
115
+ },
116
+ {
117
+ "id": "10",
118
+ "name": "Desk Table",
119
+ "sku": "P-010",
120
+ "categoryId": 4,
121
+ "supplierId": 4,
122
+ "price": 3500,
123
+ "cost": 2800,
124
+ "quantity": 6,
125
+ "minStock": 5,
126
+ "status": "in_stock",
127
+ "description": "Wooden desk",
128
+ "createdAt": "2026-03-22"
129
+ },
130
+ {
131
+ "id": "11",
132
+ "name": "Printer",
133
+ "sku": "P-011",
134
+ "categoryId": 5,
135
+ "supplierId": 5,
136
+ "price": 1800,
137
+ "cost": 1400,
138
+ "quantity": 4,
139
+ "minStock": 5,
140
+ "status": "low_stock",
141
+ "description": "Ink printer",
142
+ "createdAt": "2026-03-22"
143
+ },
144
+ {
145
+ "id": "12",
146
+ "name": "Scanner",
147
+ "sku": "P-012",
148
+ "categoryId": 5,
149
+ "supplierId": 6,
150
+ "price": 1200,
151
+ "cost": 900,
152
+ "quantity": 10,
153
+ "minStock": 5,
154
+ "status": "in_stock",
155
+ "description": "Flatbed scanner",
156
+ "createdAt": "2026-03-22"
157
+ },
158
+ {
159
+ "id": "13",
160
+ "name": "Router",
161
+ "sku": "P-013",
162
+ "categoryId": 6,
163
+ "supplierId": 7,
164
+ "price": 700,
165
+ "cost": 500,
166
+ "quantity": 15,
167
+ "minStock": 5,
168
+ "status": "in_stock",
169
+ "description": "WiFi router",
170
+ "createdAt": "2026-03-22"
171
+ },
172
+ {
173
+ "id": "14",
174
+ "name": "Switch 8-Port",
175
+ "sku": "P-014",
176
+ "categoryId": "6",
177
+ "supplierId": "8",
178
+ "price": 200,
179
+ "cost": 200,
180
+ "quantity": 20,
181
+ "minStock": 5,
182
+ "status": "in_stock",
183
+ "description": "Network switch",
184
+ "createdAt": "2026-03-29"
185
+ },
186
+ {
187
+ "id": "15",
188
+ "name": "External HDD 1TB",
189
+ "sku": "P-015",
190
+ "categoryId": 7,
191
+ "supplierId": 9,
192
+ "price": 2200,
193
+ "cost": 1800,
194
+ "quantity": 9,
195
+ "minStock": 5,
196
+ "status": "in_stock",
197
+ "description": "External hard disk",
198
+ "createdAt": "2026-03-22"
199
+ },
200
+ {
201
+ "id": "16",
202
+ "name": "SSD 512GB",
203
+ "sku": "P-016",
204
+ "categoryId": 7,
205
+ "supplierId": 10,
206
+ "price": 1800,
207
+ "cost": 100,
208
+ "quantity": 7,
209
+ "minStock": 5,
210
+ "status": "in_stock",
211
+ "description": "Solid state drive",
212
+ "createdAt": "2026-03-22",
213
+ "createdBy": "Ahmed Hassan"
214
+ },
215
+ {
216
+ "id": "17",
217
+ "name": "Smartphone A",
218
+ "sku": "P-017",
219
+ "categoryId": 8,
220
+ "supplierId": 1,
221
+ "price": 9000,
222
+ "cost": 7500,
223
+ "quantity": 11,
224
+ "minStock": 5,
225
+ "status": "in_stock",
226
+ "description": "Android phone",
227
+ "createdAt": "2026-03-22"
228
+ },
229
+ {
230
+ "id": "18",
231
+ "name": "Smartphone B",
232
+ "sku": "P-018",
233
+ "categoryId": 8,
234
+ "supplierId": 2,
235
+ "price": 12000,
236
+ "cost": 10000,
237
+ "quantity": 3,
238
+ "minStock": 5,
239
+ "status": "low_stock",
240
+ "description": "Premium phone",
241
+ "createdAt": "2026-03-22"
242
+ },
243
+ {
244
+ "id": "19",
245
+ "name": "Tablet 10\"",
246
+ "sku": "P-019",
247
+ "categoryId": 9,
248
+ "supplierId": 3,
249
+ "price": 6000,
250
+ "cost": 5000,
251
+ "quantity": 7,
252
+ "minStock": 5,
253
+ "status": "in_stock",
254
+ "description": "Android tablet",
255
+ "createdAt": "2026-03-22"
256
+ },
257
+ {
258
+ "id": "20",
259
+ "name": "Tablet Pro",
260
+ "sku": "P-020",
261
+ "categoryId": 9,
262
+ "supplierId": 4,
263
+ "price": 9000,
264
+ "cost": 15000,
265
+ "quantity": 4,
266
+ "minStock": 5,
267
+ "status": "low_stock",
268
+ "description": "High-end tablet",
269
+ "createdAt": "2026-03-22",
270
+ "createdBy": "Ahmed Hassan"
271
+ },
272
+ {
273
+ "id": "21",
274
+ "name": "Power Bank",
275
+ "sku": "P-021",
276
+ "categoryId": 10,
277
+ "supplierId": 5,
278
+ "price": 400,
279
+ "cost": 250,
280
+ "quantity": 30,
281
+ "minStock": 10,
282
+ "status": "in_stock",
283
+ "description": "Portable charger",
284
+ "createdAt": "2026-03-22"
285
+ },
286
+ {
287
+ "id": "22",
288
+ "name": "Charging Cable",
289
+ "sku": "P-022",
290
+ "categoryId": 10,
291
+ "supplierId": 6,
292
+ "price": 100,
293
+ "cost": 60,
294
+ "quantity": 50,
295
+ "minStock": 10,
296
+ "status": "in_stock",
297
+ "description": "USB cable",
298
+ "createdAt": "2026-03-22"
299
+ },
300
+ {
301
+ "id": "23",
302
+ "name": "Webcam",
303
+ "sku": "P-023",
304
+ "categoryId": 1,
305
+ "supplierId": 7,
306
+ "price": 600,
307
+ "cost": 400,
308
+ "quantity": 9,
309
+ "minStock": 5,
310
+ "status": "in_stock",
311
+ "description": "HD webcam",
312
+ "createdAt": "2026-03-22"
313
+ },
314
+ {
315
+ "id": "24",
316
+ "name": "Microphone",
317
+ "sku": "P-024",
318
+ "categoryId": 1,
319
+ "supplierId": 8,
320
+ "price": 700,
321
+ "cost": 500,
322
+ "quantity": 4,
323
+ "minStock": 5,
324
+ "status": "low_stock",
325
+ "description": "Studio mic",
326
+ "createdAt": "2026-03-22"
327
+ },
328
+ {
329
+ "id": "25",
330
+ "name": "Graphics Card",
331
+ "sku": "P-025",
332
+ "categoryId": 3,
333
+ "supplierId": 9,
334
+ "price": 15000,
335
+ "cost": 100,
336
+ "quantity": 11,
337
+ "minStock": 3,
338
+ "status": "in_stock",
339
+ "description": "GPU",
340
+ "createdAt": "2026-03-22"
341
+ },
342
+ {
343
+ "id": "26",
344
+ "name": "RAM 16GB",
345
+ "sku": "P-026",
346
+ "categoryId": 3,
347
+ "supplierId": 10,
348
+ "price": 2000,
349
+ "cost": 1600,
350
+ "quantity": 14,
351
+ "minStock": 5,
352
+ "status": "in_stock",
353
+ "description": "DDR4 RAM",
354
+ "createdAt": "2026-03-22"
355
+ },
356
+ {
357
+ "id": "27",
358
+ "name": "CPU Cooler",
359
+ "sku": "P-027",
360
+ "categoryId": 3,
361
+ "supplierId": 1,
362
+ "price": 500,
363
+ "cost": 350,
364
+ "quantity": 6,
365
+ "minStock": 5,
366
+ "status": "in_stock",
367
+ "description": "Cooling fan",
368
+ "createdAt": "2026-03-22"
369
+ },
370
+ {
371
+ "id": "28",
372
+ "name": "Motherboard",
373
+ "sku": "P-028",
374
+ "categoryId": 3,
375
+ "supplierId": 2,
376
+ "price": 4000,
377
+ "cost": 3200,
378
+ "quantity": 3,
379
+ "minStock": 5,
380
+ "status": "low_stock",
381
+ "description": "Main board",
382
+ "createdAt": "2026-03-22"
383
+ },
384
+ {
385
+ "id": "29",
386
+ "name": "Projector",
387
+ "sku": "P-029",
388
+ "categoryId": 2,
389
+ "supplierId": 3,
390
+ "price": 8000,
391
+ "cost": 7000,
392
+ "quantity": 5,
393
+ "minStock": 5,
394
+ "status": "in_stock",
395
+ "description": "HD projector",
396
+ "createdAt": "2026-03-22"
397
+ },
398
+ {
399
+ "id": "30",
400
+ "name": "HDMI Cable",
401
+ "sku": "P-030",
402
+ "categoryId": 1,
403
+ "supplierId": 4,
404
+ "price": 150,
405
+ "cost": 90,
406
+ "quantity": 40,
407
+ "minStock": 10,
408
+ "status": "in_stock",
409
+ "description": "HDMI cable",
410
+ "createdAt": "2026-03-22"
411
+ },
412
+ {
413
+ "id": "31",
414
+ "name": "Smart Watch",
415
+ "sku": "P-031",
416
+ "categoryId": 8,
417
+ "supplierId": 5,
418
+ "price": 3000,
419
+ "cost": 2500,
420
+ "quantity": 6,
421
+ "minStock": 5,
422
+ "status": "in_stock",
423
+ "description": "Wearable device",
424
+ "createdAt": "2026-03-22"
425
+ },
426
+ {
427
+ "id": "32",
428
+ "name": "Bluetooth Speaker",
429
+ "sku": "P-032",
430
+ "categoryId": 8,
431
+ "supplierId": 6,
432
+ "price": 1200,
433
+ "cost": 900,
434
+ "quantity": 8,
435
+ "minStock": 5,
436
+ "status": "in_stock",
437
+ "description": "Portable speaker",
438
+ "createdAt": "2026-03-22"
439
+ },
440
+ {
441
+ "id": "33",
442
+ "name": "Camera",
443
+ "sku": "P-033",
444
+ "categoryId": 9,
445
+ "supplierId": 7,
446
+ "price": 10000,
447
+ "cost": 8500,
448
+ "quantity": 2,
449
+ "minStock": 3,
450
+ "status": "low_stock",
451
+ "description": "Digital camera",
452
+ "createdAt": "2026-03-22"
453
+ },
454
+ {
455
+ "id": "34",
456
+ "name": "Tripod",
457
+ "sku": "P-034",
458
+ "categoryId": 9,
459
+ "supplierId": 8,
460
+ "price": 800,
461
+ "cost": 600,
462
+ "quantity": 10,
463
+ "minStock": 5,
464
+ "status": "in_stock",
465
+ "description": "Camera stand",
466
+ "createdAt": "2026-03-22"
467
+ },
468
+ {
469
+ "id": "35",
470
+ "name": "Extension Cord",
471
+ "sku": "P-035",
472
+ "categoryId": 10,
473
+ "supplierId": 9,
474
+ "price": 200,
475
+ "cost": 120,
476
+ "quantity": 25,
477
+ "minStock": 10,
478
+ "status": "in_stock",
479
+ "description": "Electric extension",
480
+ "createdAt": "2026-03-22"
481
+ },
482
+ {
483
+ "id": "36",
484
+ "name": "UPS",
485
+ "sku": "P-036",
486
+ "categoryId": 10,
487
+ "supplierId": 10,
488
+ "price": 2500,
489
+ "cost": 2000,
490
+ "quantity": 4,
491
+ "minStock": 5,
492
+ "status": "low_stock",
493
+ "description": "Power backup",
494
+ "createdAt": "2026-03-22"
495
+ },
496
+ {
497
+ "id": "37",
498
+ "name": "Mouse Pad",
499
+ "sku": "P-037",
500
+ "categoryId": 1,
501
+ "supplierId": 1,
502
+ "price": 80,
503
+ "cost": 40,
504
+ "quantity": 60,
505
+ "minStock": 10,
506
+ "status": "in_stock",
507
+ "description": "Soft pad",
508
+ "createdAt": "2026-03-22"
509
+ },
510
+ {
511
+ "id": "38",
512
+ "name": "Laptop Stand",
513
+ "sku": "P-038",
514
+ "categoryId": 1,
515
+ "supplierId": 2,
516
+ "price": 300,
517
+ "cost": 200,
518
+ "quantity": 12,
519
+ "minStock": 5,
520
+ "status": "in_stock",
521
+ "description": "Adjustable stand",
522
+ "createdAt": "2026-03-22"
523
+ },
524
+ {
525
+ "id": "39",
526
+ "name": "Desk Lamp",
527
+ "sku": "P-039",
528
+ "categoryId": 4,
529
+ "supplierId": 3,
530
+ "price": 250,
531
+ "cost": 150,
532
+ "quantity": 14,
533
+ "minStock": 5,
534
+ "status": "in_stock",
535
+ "description": "LED lamp",
536
+ "createdAt": "2026-03-22"
537
+ },
538
+ {
539
+ "id": "40",
540
+ "name": "Whiteboard",
541
+ "sku": "P-040",
542
+ "categoryId": 4,
543
+ "supplierId": 4,
544
+ "price": 900,
545
+ "cost": 700,
546
+ "quantity": 3,
547
+ "minStock": 5,
548
+ "status": "low_stock",
549
+ "description": "Office board",
550
+ "createdAt": "2026-03-22"
551
+ },
552
+ {
553
+ "id": "0f2wwoBSHmM",
554
+ "name": "screen x",
555
+ "sku": "p-041",
556
+ "categoryId": "2",
557
+ "supplierId": "10",
558
+ "price": 1000,
559
+ "quantity": 10,
560
+ "minStock": 2,
561
+ "status": "in_stock",
562
+ "createdAt": "2026-03-29"
563
+ },
564
+ {
565
+ "name": "xPhone",
566
+ "sku": "p-044",
567
+ "categoryId": "8",
568
+ "supplierId": "17",
569
+ "price": 1000,
570
+ "quantity": 10,
571
+ "minStock": 2,
572
+ "status": "in_stock",
573
+ "createdAt": "2026-03-29",
574
+ "id": "RDZuLGvt7L4"
575
+ },
576
+ {
577
+ "name": "Screen Y",
578
+ "sku": "p-050",
579
+ "categoryId": "2",
580
+ "supplierId": "17",
581
+ "price": 100,
582
+ "quantity": 20,
583
+ "minStock": 2,
584
+ "status": "in_stock",
585
+ "createdAt": "2026-03-29",
586
+ "id": "oRLcWPCBefQ"
587
+ },
588
+ {
589
+ "id": "MDyp1sGjUu4",
590
+ "name": "Huawei Router",
591
+ "sku": "P-044",
592
+ "supplierId": 1,
593
+ "price": 114.99999999999999,
594
+ "cost": 100,
595
+ "quantity": 10,
596
+ "minStock": 2,
597
+ "status": "in_stock",
598
+ "description": "",
599
+ "createdAt": "2026-03-29"
600
+ },
601
+ {
602
+ "name": "Wireless Headphone",
603
+ "sku": "p-051",
604
+ "categoryId": "1",
605
+ "supplierId": "10",
606
+ "price": 200,
607
+ "quantity": 20,
608
+ "minStock": 5,
609
+ "status": "in_stock",
610
+ "createdAt": "2026-03-29",
611
+ "id": "icJJaX7ShzQ"
612
+ },
613
+ {
614
+ "id": "mFIZxflPBlE",
615
+ "name": "FreeBuds",
616
+ "sku": "P-045",
617
+ "supplierId": 1,
618
+ "price": 114.99999999999999,
619
+ "cost": 100,
620
+ "quantity": 10,
621
+ "minStock": 2,
622
+ "status": "in_stock",
623
+ "description": "",
624
+ "createdAt": "2026-03-29",
625
+ "createdBy": "Karim Tarek"
626
+ },
627
+ {
628
+ "id": "UGsGwY9King",
629
+ "name": "EarBuds",
630
+ "sku": "P-046",
631
+ "supplierId": 1,
632
+ "price": 11.5,
633
+ "cost": 10,
634
+ "quantity": 2000,
635
+ "minStock": 2,
636
+ "status": "in_stock",
637
+ "description": "",
638
+ "createdAt": "2026-03-29",
639
+ "createdBy": "Karim Tarek"
640
+ }
641
+ ],
642
+ "categories": [
643
+ {
644
+ "name": "Accessories plus",
645
+ "description": "Keyboards, mice, headsets, and other peripheral accessories",
646
+ "productsCount": 10,
647
+ "status": "active",
648
+ "id": "1"
649
+ },
650
+ {
651
+ "id": "2",
652
+ "name": "Displays",
653
+ "description": "Monitors, screens, and display units for workstations"
654
+ },
655
+ {
656
+ "id": "3",
657
+ "name": "Computers",
658
+ "description": "Desktops, laptops, and all-in-one computing systems"
659
+ },
660
+ {
661
+ "id": "4",
662
+ "name": "Furniture",
663
+ "description": "Office desks, chairs, and workspace furniture"
664
+ },
665
+ {
666
+ "id": "5",
667
+ "name": "Office Equipment",
668
+ "description": "Printers, scanners, projectors, and office machines"
669
+ },
670
+ {
671
+ "id": "6",
672
+ "name": "Networking",
673
+ "description": "Routers, switches, access points, and network hardware"
674
+ },
675
+ {
676
+ "id": "7",
677
+ "name": "Storage",
678
+ "description": "Hard drives, SSDs, USB drives, and storage solutions"
679
+ },
680
+ {
681
+ "id": "8",
682
+ "name": "Mobile Devices",
683
+ "description": "Smartphones, tablets, and portable smart devices"
684
+ },
685
+ {
686
+ "id": "9",
687
+ "name": "Cameras",
688
+ "description": "Digital cameras, webcams, and photography equipment"
689
+ },
690
+ {
691
+ "id": "10",
692
+ "name": "Power & Cables",
693
+ "description": "Power strips, adapters, charging cables, and connectors"
694
+ },
695
+ {
696
+ "name": "hello world",
697
+ "description": "First code of my life",
698
+ "productsCount": 20,
699
+ "status": "active",
700
+ "id": "fSCD8_DjVxM"
701
+ }
702
+ ],
703
+ "suppliers": [
704
+ {
705
+ "id": "1",
706
+ "name": "Tech Source",
707
+ "contactPerson": "Ahmed Ali",
708
+ "phone": "01000000001",
709
+ "email": "s1@mail.com",
710
+ "address": "Cairo",
711
+ "status": "Active"
712
+ },
713
+ {
714
+ "id": "2",
715
+ "name": "Digital Hub",
716
+ "contactPerson": "Sara Mohamed",
717
+ "phone": "01000000002",
718
+ "email": "s2@mail.com",
719
+ "address": "Mansoura",
720
+ "status": "Inactive"
721
+ },
722
+ {
723
+ "id": "3",
724
+ "name": "Global Tech",
725
+ "contactPerson": "Omar Hassan",
726
+ "phone": "01000000003",
727
+ "email": "s3@mail.com",
728
+ "address": "Alexandria",
729
+ "status": "Active"
730
+ },
731
+ {
732
+ "id": "4",
733
+ "name": "IT World",
734
+ "contactPerson": "Mona Adel",
735
+ "phone": "01000000004",
736
+ "email": "s4@mail.com",
737
+ "address": "Giza",
738
+ "status": "Active"
739
+ },
740
+ {
741
+ "id": "5",
742
+ "name": "Future Supplies",
743
+ "contactPerson": "Khaled Samy",
744
+ "phone": "01000000005",
745
+ "email": "s5@mail.com",
746
+ "address": "Cairo",
747
+ "status": "Inactive"
748
+ },
749
+ {
750
+ "id": "6",
751
+ "name": "Smart Solutions",
752
+ "contactPerson": "Nour Ibrahim",
753
+ "phone": "01000000006",
754
+ "email": "s6@mail.com",
755
+ "address": "Tanta",
756
+ "status": "Active"
757
+ },
758
+ {
759
+ "id": "7",
760
+ "name": "Network Pro",
761
+ "contactPerson": "Youssef Tarek",
762
+ "phone": "01000000007",
763
+ "email": "s7@mail.com",
764
+ "address": "Mansoura",
765
+ "status": "Active"
766
+ },
767
+ {
768
+ "id": "8",
769
+ "name": "Office Plus",
770
+ "contactPerson": "Heba Mostafa",
771
+ "phone": "01000000008",
772
+ "email": "s8@mail.com",
773
+ "address": "Zagazig",
774
+ "status": "Inactive"
775
+ },
776
+ {
777
+ "id": "9",
778
+ "name": "Storage Hub",
779
+ "contactPerson": "Mahmoud Fathy",
780
+ "phone": "01000000009",
781
+ "email": "s9@mail.com",
782
+ "address": "Cairo",
783
+ "status": "Active"
784
+ },
785
+ {
786
+ "id": "10",
787
+ "name": "PowerTech",
788
+ "contactPerson": "Aya Khalil",
789
+ "phone": "01000000010",
790
+ "email": "s10@mail.com",
791
+ "address": "Giza",
792
+ "status": "Active"
793
+ },
794
+ {
795
+ "id": "11",
796
+ "name": "Alpha Supplies plus",
797
+ "contactPerson": "Ali Nasser",
798
+ "phone": "01000000011",
799
+ "email": "s11@mail.com",
800
+ "address": "Cairo",
801
+ "status": "Inactive"
802
+ },
803
+ {
804
+ "id": "12",
805
+ "name": "Beta Tech",
806
+ "contactPerson": "Salma Hany",
807
+ "phone": "01000000012",
808
+ "email": "s12@mail.com",
809
+ "address": "Alexandria",
810
+ "status": "Active"
811
+ },
812
+ {
813
+ "id": "13",
814
+ "name": "Gamma Systems",
815
+ "contactPerson": "Hossam Ali",
816
+ "phone": "01000000013",
817
+ "email": "s13@mail.com",
818
+ "address": "Tanta",
819
+ "status": "Active"
820
+ },
821
+ {
822
+ "id": "14",
823
+ "name": "Delta Traders",
824
+ "contactPerson": "Dina Wael",
825
+ "phone": "01000000014",
826
+ "email": "s14@mail.com",
827
+ "address": "Mansoura",
828
+ "status": "Inactive"
829
+ },
830
+ {
831
+ "id": "15",
832
+ "name": "Epsilon Corp",
833
+ "contactPerson": "Karim Adel",
834
+ "phone": "01000000015",
835
+ "email": "s15@mail.com",
836
+ "address": "Giza",
837
+ "status": "Active"
838
+ },
839
+ {
840
+ "id": "16",
841
+ "name": "Zeta Supplies",
842
+ "contactPerson": "Farah Ahmed",
843
+ "phone": "01000000016",
844
+ "email": "s16@mail.com",
845
+ "address": "Zagazig",
846
+ "status": "Active"
847
+ },
848
+ {
849
+ "id": "17",
850
+ "name": "Omega Tech",
851
+ "contactPerson": "Tamer Yassin",
852
+ "phone": "01000000017",
853
+ "email": "s17@mail.com",
854
+ "address": "Cairo",
855
+ "status": "Inactive"
856
+ },
857
+ {
858
+ "id": "18",
859
+ "name": "Prime Solutions",
860
+ "contactPerson": "Rania Samir",
861
+ "phone": "01000000018",
862
+ "email": "s18@mail.com",
863
+ "address": "Alexandria",
864
+ "status": "Active"
865
+ },
866
+ {
867
+ "id": "19",
868
+ "name": "NextGen IT",
869
+ "contactPerson": "Mostafa Khaled",
870
+ "phone": "01000000019",
871
+ "email": "s19@mail.com",
872
+ "address": "Mansoura",
873
+ "status": "Active"
874
+ },
875
+ {
876
+ "id": "20",
877
+ "name": "Vision Supplies",
878
+ "contactPerson": "Nadine Ashraf",
879
+ "phone": "01000000020",
880
+ "email": "s20@mail.com",
881
+ "address": "Giza",
882
+ "status": "Inactive"
883
+ }
884
+ ],
885
+ "stockMovements": [
886
+ {
887
+ "productId": "RDZuLGvt7L4",
888
+ "name": "xPhone",
889
+ "type": "PRODUCT_ADDED",
890
+ "action": "IN",
891
+ "quantity": 10,
892
+ "previousQuantity": 0,
893
+ "newQuantity": 10,
894
+ "title": "xPhone added to inventory",
895
+ "reason": "Initial stock",
896
+ "createdAt": "2026-03-29T18:03:13.028Z",
897
+ "createdBy": "Youssef Khaled",
898
+ "id": "vZo7TZYE99k"
899
+ },
900
+ {
901
+ "productId": "oRLcWPCBefQ",
902
+ "name": "Screen Y",
903
+ "type": "PRODUCT_ADDED",
904
+ "action": "IN",
905
+ "quantity": 20,
906
+ "previousQuantity": 0,
907
+ "newQuantity": 20,
908
+ "title": "Screen Y added to inventory",
909
+ "reason": "Initial stock",
910
+ "createdAt": "2026-03-29T20:30:28.477Z",
911
+ "createdBy": "Ahmed Hassan",
912
+ "id": "bwk2ZB5z0TU"
913
+ },
914
+ {
915
+ "id": "Ysn2Wsv11Go",
916
+ "name": "Huawei Router",
917
+ "sku": "P-044",
918
+ "supplierId": 1,
919
+ "price": 114.99999999999999,
920
+ "cost": 100,
921
+ "quantity": 10,
922
+ "minStock": 2,
923
+ "status": "in_stock",
924
+ "description": "",
925
+ "createdAt": "2026-03-29",
926
+ "createdBy": "Ahmed Hassan"
927
+ },
928
+ {
929
+ "id": "Obdk2ndmij4",
930
+ "name": "Tablet Pro",
931
+ "sku": "P-020",
932
+ "categoryId": 9,
933
+ "supplierId": 4,
934
+ "price": 9000,
935
+ "cost": 15000,
936
+ "quantity": 4,
937
+ "minStock": 5,
938
+ "status": "low_stock",
939
+ "description": "High-end tablet",
940
+ "createdAt": "2026-03-22",
941
+ "createdBy": "Ahmed Hassan"
942
+ },
943
+ {
944
+ "productId": "icJJaX7ShzQ",
945
+ "name": "Wireless Headphone",
946
+ "type": "PRODUCT_ADDED",
947
+ "action": "IN",
948
+ "quantity": 20,
949
+ "previousQuantity": 0,
950
+ "newQuantity": 20,
951
+ "title": "Wireless Headphone added to inventory",
952
+ "reason": "Initial stock",
953
+ "createdAt": "2026-03-29T21:07:04.207Z",
954
+ "createdBy": "Karim Tarek",
955
+ "id": "-nGzAxeA9Qc"
956
+ },
957
+ {
958
+ "id": "diC6fQoTAwo",
959
+ "name": "FreeBuds",
960
+ "sku": "P-045",
961
+ "supplierId": 1,
962
+ "price": 114.99999999999999,
963
+ "cost": 100,
964
+ "quantity": 10,
965
+ "minStock": 2,
966
+ "status": "in_stock",
967
+ "description": "",
968
+ "createdAt": "2026-03-29",
969
+ "createdBy": "Karim Tarek"
970
+ },
971
+ {
972
+ "id": "M48MIwYXnTo",
973
+ "name": "EarBuds",
974
+ "sku": "P-046",
975
+ "supplierId": 1,
976
+ "price": 11.5,
977
+ "cost": 10,
978
+ "quantity": 2000,
979
+ "minStock": 2,
980
+ "status": "in_stock",
981
+ "description": "",
982
+ "createdAt": "2026-03-29",
983
+ "createdBy": "Karim Tarek"
984
+ },
985
+ {
986
+ "id": "phwhu7orjLY",
987
+ "name": "Laptop Core i7",
988
+ "sku": "P-008",
989
+ "categoryId": 3,
990
+ "supplierId": 2,
991
+ "price": 22000,
992
+ "cost": 20000,
993
+ "quantity": 12,
994
+ "minStock": 5,
995
+ "status": "in_stock",
996
+ "description": "High performance laptop",
997
+ "createdAt": "2026-03-22",
998
+ "createdBy": "Karim Tarek"
999
+ }
1000
+ ],
1001
+ "orders": [
1002
+ {
1003
+ "id": "YzNJxSXhuq8",
1004
+ "supplier": "Office Plus",
1005
+ "date": "2026-03-29",
1006
+ "items": [
1007
+ {
1008
+ "product": "Switch 8-Port",
1009
+ "qty": 20,
1010
+ "cost": 200,
1011
+ "lineTotal": 4000
1012
+ }
1013
+ ],
1014
+ "itemsCount": 20,
1015
+ "totalCost": 4000,
1016
+ "status": "Received"
1017
+ },
1018
+ {
1019
+ "id": "5ZnfqPt90gQ",
1020
+ "supplier": "Storage Hub",
1021
+ "date": "2026-03-29",
1022
+ "items": [
1023
+ {
1024
+ "product": "Graphics Card",
1025
+ "qty": 10,
1026
+ "cost": 100,
1027
+ "lineTotal": 1000
1028
+ }
1029
+ ],
1030
+ "itemsCount": 10,
1031
+ "totalCost": 1000,
1032
+ "status": "Received"
1033
+ },
1034
+ {
1035
+ "id": "gGJoJouDolQ",
1036
+ "supplier": "Tech Source",
1037
+ "date": "2026-03-29",
1038
+ "items": [
1039
+ {
1040
+ "product": "Huawei Router",
1041
+ "qty": 10,
1042
+ "cost": 100,
1043
+ "lineTotal": 1000
1044
+ }
1045
+ ],
1046
+ "itemsCount": 10,
1047
+ "totalCost": 1000,
1048
+ "status": "Received"
1049
+ },
1050
+ {
1051
+ "id": "KyN44OBzRA4",
1052
+ "supplier": "PowerTech",
1053
+ "date": "2026-03-29",
1054
+ "items": [
1055
+ {
1056
+ "product": "SSD 512GB",
1057
+ "qty": 5,
1058
+ "cost": 100,
1059
+ "lineTotal": 500
1060
+ }
1061
+ ],
1062
+ "itemsCount": 5,
1063
+ "totalCost": 500,
1064
+ "status": "Received"
1065
+ },
1066
+ {
1067
+ "id": "apOyJjePt6o",
1068
+ "supplier": "IT World",
1069
+ "date": "2026-03-29",
1070
+ "items": [
1071
+ {
1072
+ "product": "Tablet Pro",
1073
+ "qty": 2,
1074
+ "cost": 15000,
1075
+ "lineTotal": 30000
1076
+ }
1077
+ ],
1078
+ "itemsCount": 2,
1079
+ "totalCost": 30000,
1080
+ "status": "Received"
1081
+ },
1082
+ {
1083
+ "id": "tzNN5ZBaWZg",
1084
+ "supplier": "Tech Source",
1085
+ "date": "2026-03-29",
1086
+ "items": [
1087
+ {
1088
+ "product": "FreeBuds",
1089
+ "qty": 10,
1090
+ "cost": 100,
1091
+ "lineTotal": 1000
1092
+ }
1093
+ ],
1094
+ "itemsCount": 10,
1095
+ "totalCost": 1000,
1096
+ "status": "Received"
1097
+ },
1098
+ {
1099
+ "id": "kgdJ1lzJHrI",
1100
+ "supplier": "Tech Source",
1101
+ "date": "2026-03-29",
1102
+ "items": [
1103
+ {
1104
+ "product": "EarBuds",
1105
+ "qty": 2000,
1106
+ "cost": 10,
1107
+ "lineTotal": 20000
1108
+ }
1109
+ ],
1110
+ "itemsCount": 2000,
1111
+ "totalCost": 20000,
1112
+ "status": "Received"
1113
+ },
1114
+ {
1115
+ "id": "Wf4NXpGQn8o",
1116
+ "supplier": "Digital Hub",
1117
+ "date": "2026-03-29",
1118
+ "items": [
1119
+ {
1120
+ "product": "Laptop Core i7",
1121
+ "qty": 10,
1122
+ "cost": 20000,
1123
+ "lineTotal": 200000
1124
+ }
1125
+ ],
1126
+ "itemsCount": 10,
1127
+ "totalCost": 200000,
1128
+ "status": "Received"
1129
+ }
1130
+ ],
1131
+ "admins": [
1132
+ {
1133
+ "id": "1",
1134
+ "name": "Ahmed Hassan",
1135
+ "username": "ahmed.hassan",
1136
+ "email": "ahmed.hassan@inventory.com",
1137
+ "password": "Ahm@1234"
1138
+ },
1139
+ {
1140
+ "id": "2",
1141
+ "name": "Sara Mohamed",
1142
+ "username": "sara.mohamed",
1143
+ "email": "sara.mohamed@inventory.com",
1144
+ "password": "Sar@5678"
1145
+ },
1146
+ {
1147
+ "id": "3",
1148
+ "name": "Omar Ali",
1149
+ "username": "omar.ali",
1150
+ "email": "omar.ali@inventory.com",
1151
+ "password": "Oma@9012"
1152
+ },
1153
+ {
1154
+ "id": "4",
1155
+ "name": "Mona Ibrahim",
1156
+ "username": "mona.ibrahim",
1157
+ "email": "mona.ibrahim@inventory.com",
1158
+ "password": "Mon@3456"
1159
+ },
1160
+ {
1161
+ "id": "5",
1162
+ "name": "Youssef Khaled",
1163
+ "username": "youssef.khaled",
1164
+ "email": "youssef.khaled@inventory.com",
1165
+ "password": "You@7890"
1166
+ },
1167
+ {
1168
+ "id": "6",
1169
+ "name": "Nour Ahmed",
1170
+ "username": "nour.ahmed",
1171
+ "email": "nour.ahmed@inventory.com",
1172
+ "password": "Nou@1122"
1173
+ },
1174
+ {
1175
+ "id": "7",
1176
+ "name": "Mahmoud Samy",
1177
+ "username": "mahmoud.samy",
1178
+ "email": "mahmoud.samy@inventory.com",
1179
+ "password": "Mah@3344"
1180
+ },
1181
+ {
1182
+ "id": "8",
1183
+ "name": "Huda Adel",
1184
+ "username": "huda.adel",
1185
+ "email": "huda.adel@inventory.com",
1186
+ "password": "Hud@5566"
1187
+ },
1188
+ {
1189
+ "id": "9",
1190
+ "name": "Karim Tarek",
1191
+ "username": "karim.tarek",
1192
+ "email": "karim.tarek@inventory.com",
1193
+ "password": "Kar@7788"
1194
+ },
1195
+ {
1196
+ "id": "10",
1197
+ "name": "Salma Mostafa",
1198
+ "username": "salma.mostafa",
1199
+ "email": "salma.mostafa@inventory.com",
1200
+ "password": "Sal@9900"
1201
+ },
1202
+ {
1203
+ "id": "11",
1204
+ "name": "Hassan Fathy",
1205
+ "username": "hassan.fathy",
1206
+ "email": "hassan.fathy@inventory.com",
1207
+ "password": "Has@2468"
1208
+ },
1209
+ {
1210
+ "id": "12",
1211
+ "name": "Dina Sherif",
1212
+ "username": "dina.sherif",
1213
+ "email": "dina.sherif@inventory.com",
1214
+ "password": "Din@1357"
1215
+ },
1216
+ {
1217
+ "id": "13",
1218
+ "name": "Tamer Nabil",
1219
+ "username": "tamer.nabil",
1220
+ "email": "tamer.nabil@inventory.com",
1221
+ "password": "Tam@8642"
1222
+ },
1223
+ {
1224
+ "id": "14",
1225
+ "name": "Reem Ashraf",
1226
+ "username": "reem.ashraf",
1227
+ "email": "reem.ashraf@inventory.com",
1228
+ "password": "Ree@9753"
1229
+ },
1230
+ {
1231
+ "id": "15",
1232
+ "name": "Mostafa Adel",
1233
+ "username": "mostafa.adel",
1234
+ "email": "mostafa.adel@inventory.com",
1235
+ "password": "Mos@4826"
1236
+ }
1237
+ ],
1238
+ "$schema": "./node_modules/json-server/schema.json"
1239
+ }