-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHealth Recommendation.postman_collection.json
1552 lines (1552 loc) · 54.3 KB
/
Health Recommendation.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"info": {
"_postman_id": "d7f7279d-bbf9-41f7-9b34-f147f49db9df",
"name": "Health Recommendation",
"description": "In this innovative project, we will develop a **backend-only Personalized Health and Wellness Recommendation System** using **Microservices, Spring Boot, JPA, API Gateway, Discovery Server, and Authentication Service**. The system aims to provide users with tailored health and wellness recommendations, facilitate progress tracking, encourage community engagement, offer nutrition information, support mental health, utilize data analytics, and provide feedback analysis.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "26502327",
"_collection_link": "https://planetary-eclipse-491333.postman.co/workspace/Mid-Project~57cfe021-50fd-42d7-96c0-c535c0fcc9bb/collection/28578986-d7f7279d-bbf9-41f7-9b34-f147f49db9df?action=share&source=collection_link&creator=26502327"
},
"item": [
{
"name": "User-service",
"item": [
{
"name": "user-registration",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"email\": \"[email protected]\",\r\n \"password\" : \"1234\",\r\n \"name\" : \"user-2\",\r\n \"age\" : 20,\r\n \"gender\" : \"male\",\r\n \"role\" : \"USER\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/users/register",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"register"
]
},
"description": "This API is used to register a new user taking user information as input."
},
"response": []
},
{
"name": "user-login",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"email\": \"[email protected]\",\r\n \"password\" : \"1234\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/users/login",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"login"
]
},
"description": "This API is used to Login any registered user providing email and password. It will provide the Security Token after login."
},
"response": []
},
{
"name": "user-health-data",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzUzNTExNX0.6iA1DwMvSEidi0WjKWtn_l5UgBtOkfWcdYijGPWM7ho",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"height\" : \"152.0\",\r\n \"weight\" : \"50.0\",\r\n \"sleepTime\" : \"6.0\",\r\n \"bloodPressure\" : \"120/80\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/users/healthdata",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"healthdata"
]
},
"description": "This API is used to add a user's health data in the database."
},
"response": []
},
{
"name": "healthdata-get",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MzY2M30.gHESezfZJTYoVrWpc0by8Z2w8iZytOk5F2guza2QWZs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/users/healthdata",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"healthdata"
]
}
},
"response": []
},
{
"name": "healthdata-all",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzUzNTExNX0.6iA1DwMvSEidi0WjKWtn_l5UgBtOkfWcdYijGPWM7ho",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/users/healthdata/all",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"healthdata",
"all"
]
}
},
"response": []
},
{
"name": "user-profile",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzUzNTExNX0.6iA1DwMvSEidi0WjKWtn_l5UgBtOkfWcdYijGPWM7ho",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/users/profile",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"profile"
]
}
},
"response": []
},
{
"name": "user-profile-edit",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzQzMjQyNH0.XOUl0EZ1FX6SGZZqQnTDZSqIK05ttxaUUCPfhMQvQcs",
"type": "string"
}
]
},
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"u7\",\r\n \"age\": 20\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/users/profile",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"users",
"profile"
]
}
},
"response": []
}
],
"description": "This Service will manage User Profile and Health Data"
},
{
"name": "Nutrition-Service",
"item": [
{
"name": "Get Recipe by Food Name",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzI1MjUwNH0.3bSAqruq3Ne0pOrj_0nr_rWyf1DezE2U5Zufw8uzGig",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/nutrition/search/Grilled Chicken Salad",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"nutrition",
"search",
"Grilled Chicken Salad"
]
}
},
"response": []
},
{
"name": "Get Nutrition Details by Food Name",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzI1MjUwNH0.3bSAqruq3Ne0pOrj_0nr_rWyf1DezE2U5Zufw8uzGig",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/nutrition/details/Veggie Omelette",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"nutrition",
"details",
"Veggie Omelette"
]
}
},
"response": []
},
{
"name": "View Recommendation",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1M0BnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzM2MTQwNH0.IwvkV6snD0lcj8R7xMksqvTdRp6hFg0EjIxa77h_TJs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/nutrition/recommendations",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"nutrition",
"recommendations"
]
}
},
"response": []
}
]
},
{
"name": "Feedback-Service",
"item": [
{
"name": "submit-feedback",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzU0MjEwMn0.7vnNBhoVqF_9LA8h19AVSwgGKKVrKvtXpTu_RijCqJA",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"recommendationId\" : \"343\",\r\n \"feedbackText\" : \"Joss feedback-555\",\r\n \"feedbackRating\" : \"4.59\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/feedback-service/feedback/submit",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"feedback-service",
"feedback",
"submit"
]
}
},
"response": []
},
{
"name": "get-all-feedback",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MjM3NH0.2iVw9BDjxoh9E5cEECVMPQnlay4h8IF9UOe3NvtmuA0",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/feedback-service/feedback/all",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"feedback-service",
"feedback",
"all"
]
}
},
"response": []
},
{
"name": "progress-track",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4NTIxOH0.MjFKtQFFcnt9jBSLMxRWKGNRcgEyqV4Py1imWpgCD-o",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/feedback-service/progress/track",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"feedback-service",
"progress",
"track"
]
}
},
"response": []
},
{
"name": "progresss-insights",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzQzMzkwNn0.Bhvzi7HiE0f9mKY-4k7A_IbKfawXUwPjdN4fPrLHWZ8",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/feedback-service/progress/insights",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"feedback-service",
"progress",
"insights"
]
}
},
"response": []
},
{
"name": "get-feedback-by-user",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1NEBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzI1OTk3OX0.yNaeNIhZYnrfJ5Kew00-iquXcAfuNIBnPKykhnGv5C0",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/feedback-service/feedback/user/2",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"feedback-service",
"feedback",
"user",
"2"
]
}
},
"response": []
},
{
"name": "track-progress",
"request": {
"method": "GET",
"header": []
},
"response": []
}
]
},
{
"name": "Recommendation-Service",
"item": [
{
"name": "recommendations-add",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhMUBnbWFpbC5jb20iLCJyb2xlcyI6WyJBRE1JTiJdLCJleHAiOjE2OTc1MzY3MDl9.Ckd-mnECpotDSlORB3ibHfXNWUqhEoJ982YibXa3j8I",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "[\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Focus on balanced, whole foods, limit sugary and fatty foods, and add regular exercise for weight loss.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Maintain a balanced diet with fruits, veggies, whole grains, lean proteins, and healthy fats. Exercise regularly and stay hydrated.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Aim for a high-calorie, nutrient-dense diet with an emphasis on protein-rich foods, healthy fats, complex carbohydrates, and regular, balanced meals throughout the day to support healthy weight gain.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Include more vegetables, lean proteins, and whole grains in your diet. Minimize processed foods, sugary snacks, and high-calorie beverages to aid in weight management.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Prioritize portion control and mindful eating. Consume a variety of foods for a well-rounded diet, and engage in regular physical activity to maintain your current healthy weight.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Opt for frequent, nutrient-rich meals. Incorporate healthy snacks like nuts, seeds, and smoothies into your daily routine. Focus on gradually increasing your caloric intake to support weight gain.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Ensure adequate fiber intake by including plenty of fruits, vegetables, and whole grains in your meals. Monitor portion sizes and engage in regular physical activity to manage your weight effectively.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Consume a balanced diet with a variety of colorful fruits and vegetables, lean proteins, and whole grains. Incorporate regular exercise to maintain your current healthy weight and overall well-being.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Experiment with calorie-dense foods like avocados, nuts, and full-fat dairy to boost your daily caloric intake. Ensure a well-rounded diet with essential nutrients to support healthy weight gain.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Plan balanced meals and avoid skipping them. Opt for cooking methods like grilling, steaming, or baking rather than frying. Focus on mindful eating to aid in your weight loss journey.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Choose a variety of nutrient-dense foods to ensure you're getting a wide range of vitamins and minerals. Incorporate regular physical activity like brisk walking or cycling for maintaining a healthy weight.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Add extra calories through healthy fats like olive oil, nuts, and seeds. Include protein-rich foods and complex carbohydrates to your meals for a balanced and calorie-rich diet promoting weight gain.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Monitor your daily caloric intake and stay within a reasonable range to support weight loss. Consider consulting a nutritionist to help design a personalized, calorie-controlled meal plan.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Opt for whole, unprocessed foods and a well-balanced diet rich in vitamins, minerals, and fiber. Maintain a regular eating schedule and stay physically active for overall health and weight management.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"diet\",\r\n \"recommendationText\": \"Incorporate smoothies, shakes, and nuts into your diet as snacks to increase calorie intake. Aim for regular, balanced meals and consult a dietitian to create a personalized weight gain plan.\"\r\n }, \r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Incorporate a mix of cardiovascular exercises like brisk walking, jogging, or cycling for at least 30 minutes a day, combined with strength training exercises such as squats, lunges, and push-ups to aid in weight loss and muscle toning.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Maintain your weight by engaging in regular physical activity such as a combination of aerobic exercises like running or dancing, strength training exercises using bodyweight or weights, and flexibility exercises like yoga or stretching to improve overall fitness.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"To gain muscle and healthy weight, focus on strength training exercises like weight lifting, resistance band workouts, and bodyweight exercises such as push-ups, squats, and lunges. Aim for 3-4 strength training sessions per week with adequate rest in between.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Incorporate at least 150 minutes of moderate-intensity aerobic exercises like brisk walking, swimming, or cycling per week, along with muscle-strengthening exercises like weight lifting or bodyweight exercises 2-3 times a week to promote weight loss and overall health.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Maintain a healthy weight by engaging in at least 150 minutes of moderate-intensity aerobic exercises per week, such as jogging, cycling, or aerobic classes, complemented with muscle-strengthening exercises like bodyweight exercises or resistance training 2-3 times a week.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Incorporate strength training exercises like weight lifting, resistance band workouts, and bodyweight exercises such as push-ups, squats, and planks into your routine. Gradually increase the intensity and aim for consistent workouts 3-4 times a week to build muscle mass.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Include a mix of aerobic exercises like walking, jogging, or cycling for at least 30 minutes most days, combined with bodyweight exercises such as squats, lunges, and modified push-ups to kickstart your weight loss journey.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Maintain your healthy weight with a combination of aerobic exercises like running, cycling, or dancing for at least 150 minutes a week, and strength training exercises using weights or resistance bands 2-3 times per week to enhance muscle tone and overall fitness.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"To gain healthy weight, focus on strength training exercises like weight lifting, resistance band workouts, and bodyweight exercises such as push-ups and squats. Gradually increase the weights and aim for progressive overload to build muscle mass.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Begin with low-impact exercises like walking, swimming, or cycling, gradually increasing intensity and duration. Combine these with strength training exercises using bodyweight or weights to support weight loss and improve overall strength and mobility.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Maintain your weight by engaging in a variety of exercises, including cardiovascular activities like running or cycling, strength training exercises using weights or bodyweight, and flexibility exercises like yoga or stretching, aiming for at least 150 minutes of moderate-intensity activity per week.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Focus on strength training exercises using weights, resistance bands, or bodyweight to build muscle mass and gain weight. Aim for progressive overload by gradually increasing weights and intensity to challenge your muscles and promote healthy weight gain.\"\r\n },\r\n {\r\n \"recommendationType\": \"overWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Incorporate a mix of cardio exercises like brisk walking, cycling, or swimming for at least 30 minutes most days, complemented by bodyweight exercises such as squats, lunges, and planks to support weight loss and improve overall fitness.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Maintain your healthy weight by engaging in a variety of exercises, including aerobic activities like running or dancing, strength training exercises using weights or bodyweight, and flexibility exercises like yoga or stretching, aiming for at least 150 minutes of moderate-intensity activity per week.\"\r\n },\r\n {\r\n \"recommendationType\": \"underWeight\",\r\n \"recommendationCategory\": \"exercise\",\r\n \"recommendationText\": \"Incorporate a mix of strength training exercises like weight lifting, resistance band workouts, and bodyweight exercises such as push-ups, squats, and lunges into your routine. Gradually increase intensity and aim for consistent workouts 3-4 times a week to build muscle and gain healthy weight.\"\r\n },\r\n\r\n {\r\n \"recommendationType\": \"underSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"To improve sleep duration, maintain a consistent sleep schedule, ensuring you go to bed and wake up at the same time every day, even on weekends. Create a relaxing bedtime routine, avoid heavy meals close to bedtime, and keep your sleep environment cool, dark, and quiet for optimal rest.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"Ensure you get 7-9 hours of quality sleep each night by establishing a consistent sleep schedule. Create a relaxing bedtime routine, avoid heavy or spicy meals close to bedtime, and keep your sleep environment cool, dark, and quiet to support a good night's rest.\"\r\n },\r\n {\r\n \"recommendationType\": \"overSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"Strive for a balanced sleep schedule, aiming for 7-9 hours of restful sleep each night. Avoid oversleeping, as it can disrupt your daily routine and leave you feeling lethargic. Establish a calming pre-sleep routine, maintain a comfortable sleep environment, and limit exposure to screens before bed for improved sleep quality.\"\r\n },\r\n {\r\n \"recommendationType\": \"underSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"To enhance sleep duration, practice a relaxing bedtime routine like reading or gentle stretching before sleep. Opt for a balanced evening meal, avoiding heavy or spicy foods close to bedtime. Adjust your room lighting to a dim, warm setting to signal your body that it's time to wind down.\"\r\n },\r\n {\r\n \"recommendationType\": \"normalSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"Maintain a consistent sleep schedule, aiming for 7-9 hours of quality sleep each night. Create a relaxing pre-sleep routine, such as reading or gentle yoga, and dim the lights in your room to signal the body for rest. Avoid heavy or spicy meals close to bedtime and limit caffeine and screen time in the evening.\"\r\n },\r\n {\r\n \"recommendationType\": \"overSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"Strive for a balanced sleep schedule, targeting 7-9 hours of restful sleep per night. Avoid oversleeping, as it can disrupt your daily routine and leave you feeling sluggish. Establish a calming pre-sleep routine, adjust room lighting to a relaxing ambiance, and limit caffeine intake in the evening for better sleep quality.\"\r\n },\r\n {\r\n \"recommendationType\": \"underSleep\",\r\n \"recommendationCategory\": \"sleep\",\r\n \"recommendationText\": \"Prioritize getting 7-9 hours of quality sleep each night to support your overall health. Establish a calming pre-sleep routine, avoid heavy or spicy meals close to bedtime, and create a sleep-friendly environment by keeping your room dark, cool, and quiet.\"\r\n }, \r\n {\r\n \"recommendationType\": \"Happy\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Practice gratitude daily by writing down things you're thankful for.\"\r\n }, \r\n {\r\n \"recommendationType\": \"Happy\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Engage in regular mindfulness meditation to stay present and appreciate life.\"\r\n }, \r\n {\r\n \"recommendationType\": \"Happy\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Engage in hobbies or activities that bring you joy and relaxation.\"\r\n }, \r\n {\r\n \"recommendationType\": \"Happy\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Surround yourself with positive, supportive people who lift your spirits.\"\r\n }, \r\n {\r\n \"recommendationType\": \"Happy\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Spend time in nature, appreciating the beauty and tranquility it offers.\"\r\n }, \r\n {\r\n \"recommendationType\": \"Normal\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Practice regular deep breathing exercises to reduce stress and anxiety.\"\r\n },\r\n {\r\n \"recommendationType\": \"Normal\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Maintain a consistent sleep schedule to support your overall well-being.\"\r\n },\r\n {\r\n \"recommendationType\": \"Normal\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Keep a journal to reflect on your thoughts and emotions, promoting self-awareness.\"\r\n },\r\n {\r\n \"recommendationType\": \"Normal\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Engage in physical exercises, as they contribute to both physical and mental health.\"\r\n },\r\n {\r\n \"recommendationType\": \"Normal\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Participate in mindfulness practices to center yourself and improve mental clarity.\"\r\n },\r\n {\r\n \"recommendationType\": \"Sad\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Reach out to a mental health professional for support and guidance.\"\r\n },\r\n {\r\n \"recommendationType\": \"Sad\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Engage in gentle exercises like yoga or walking to boost your mood and energy.\"\r\n },\r\n {\r\n \"recommendationType\": \"Sad\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Practice self-compassion and be kind to yourself during challenging times.\"\r\n },\r\n {\r\n \"recommendationType\": \"Sad\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Seek comfort and support from trusted friends or family members.\"\r\n },\r\n {\r\n \"recommendationType\": \"Sad\",\r\n \"recommendationCategory\": \"mentalHealth\",\r\n \"recommendationText\": \"Consider engaging in creative outlets like art.\"\r\n }\r\n]\r\n\r\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/recommendations/add",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"recommendations",
"add"
]
}
},
"response": []
},
{
"name": "recommendation-diet",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MzY2M30.gHESezfZJTYoVrWpc0by8Z2w8iZytOk5F2guza2QWZs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/recommendations/diet",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"recommendations",
"diet"
]
}
},
"response": []
},
{
"name": "recommendation-exercise",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MzY2M30.gHESezfZJTYoVrWpc0by8Z2w8iZytOk5F2guza2QWZs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/recommendations/exercise",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"recommendations",
"exercise"
]
}
},
"response": []
},
{
"name": "recommendation-sleep",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MzY2M30.gHESezfZJTYoVrWpc0by8Z2w8iZytOk5F2guza2QWZs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/recommendations/sleep",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"recommendations",
"sleep"
]
}
},
"response": []
},
{
"name": "recommendation-getbyid",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MzY2M30.gHESezfZJTYoVrWpc0by8Z2w8iZytOk5F2guza2QWZs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/recommendations/recommendation/13",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"recommendations",
"recommendation",
"13"
]
}
},
"response": []
},
{
"name": "recommendation-mental-health",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MzY2M30.gHESezfZJTYoVrWpc0by8Z2w8iZytOk5F2guza2QWZs",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/recommendations/mental-health",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"recommendations",
"mental-health"
]
}
},
"response": []
}
]
},
{
"name": "Mental Health Service",
"item": [
{
"name": "Add Mental Health Exercise",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzI2MzExMH0.2mdz7_ra_V8tQuB7IMhP71An8jSzk3cqIt5D4mDtxUo",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"exerciseTitle\" : \"Thought Exploration\",\r\n \"exerciseDescription\" : \"Journaling\",\r\n \"exerciseInstruction\" : \"Write about your thoughts, feelings, and experiences. No judgments or grammar concerns. Write as often as needed.\",\r\n \"exerciseDuration\" : \"20-30 minutes\",\r\n \"exerciseScore\" : 4\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/mental-health/exercises",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"mental-health",
"exercises"
]
}
},
"response": []
},
{
"name": "Get Mental Health Exercise",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1NEBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzQ0MzUxOX0.j-aOn-F8ODoJm3vfrYk9P-cpR7jkrCo7re12Fo_hmfc",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/mental-health/exercises",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"mental-health",
"exercises"
]
}
},
"response": []
},
{
"name": "Add new Mood",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1NEBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzQ0MzUxOX0.j-aOn-F8ODoJm3vfrYk9P-cpR7jkrCo7re12Fo_hmfc",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"moodState\" : \"happy\",\r\n \"stressType\" : \"low\",\r\n \"moodNote\" : \"Bad office day!\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8106/mental-health/mood-tracking",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"mental-health",
"mood-tracking"
]
}
},
"response": []
},
{
"name": "Get Mood Log",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1MUBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzY4MjM3NH0.2iVw9BDjxoh9E5cEECVMPQnlay4h8IF9UOe3NvtmuA0",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/mental-health/mood-tracking",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"mental-health",
"mood-tracking"
]
}
},
"response": []
},
{
"name": "Get latest mood",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1NEBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzQ0MzUxOX0.j-aOn-F8ODoJm3vfrYk9P-cpR7jkrCo7re12Fo_hmfc",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/mental-health/mood-tracking/last",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"mental-health",
"mood-tracking",
"last"
]
}
},
"response": []
},
{
"name": "Get Exercise Recommendations",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1NkBnbWFpbC5jb20iLCJyb2xlcyI6WyJVU0VSIl0sImV4cCI6MTY5NzQ0NTA1OX0.1PB10HZWts8AZrSitvAUCtzPy1-bm4ryHMMUNoVDDn4",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/mental-health/recommendations",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"mental-health",
"recommendations"
]
}
},
"response": []
}
]
},
{
"name": "Dashboard-Service",
"item": [
{
"name": "dashboard-feedback",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhMUBnbWFpbC5jb20iLCJyb2xlcyI6WyJBRE1JTiJdLCJleHAiOjE2OTc1NDM3MzV9.Q5fMrN4qIsKa5siqNSX3DMv-XH5aCsmGot3oPxoLNts",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/dashboard/feedback/2",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"dashboard",
"feedback",
"2"
]
}
},
"response": []
},
{
"name": "dashboard-user-progress",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhMUBnbWFpbC5jb20iLCJyb2xlcyI6WyJBRE1JTiJdLCJleHAiOjE2OTc1NDM3MzV9.Q5fMrN4qIsKa5siqNSX3DMv-XH5aCsmGot3oPxoLNts",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8106/dashboard/progress/3",
"protocol": "http",
"host": [
"localhost"
],
"port": "8106",
"path": [
"dashboard",
"progress",
"3"
]
}
},
"response": []
},
{
"name": "dashboard-recommendations",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhMUBnbWFpbC5jb20iLCJyb2xlcyI6WyJBRE1JTiJdLCJleHAiOjE2OTc1NDM3MzV9.Q5fMrN4qIsKa5siqNSX3DMv-XH5aCsmGot3oPxoLNts",
"type": "string"
}
]
},
"method": "GET",
"header": [],