Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CS2113-W15-1] LifeTracker #94

Open
wants to merge 548 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
548 commits
Select commit Hold shift + click to select a range
68671ee
Merge pull request #121 from MingEn82/master
MingEn82 Mar 31, 2023
5792300
test
MingEn82 Mar 31, 2023
6411442
prev commit
MingEn82 Mar 31, 2023
7720aeb
Merge branch 'master' of https://github.com/MingEn82/tp into branch-M…
MingEn82 Mar 31, 2023
15ca2b8
fixed bugs
MingEn82 Mar 31, 2023
e65413e
removed dependencies
MingEn82 Mar 31, 2023
84927de
Merge pull request #122 from MingEn82/branch-MingEn
MingEn82 Mar 31, 2023
c937583
Add Motivational exercise message Feature
Koh-Jing-Jie-Marcus Apr 1, 2023
feb14dd
Merge pull request #166 from Koh-Jing-Jie-Marcus/Branch-Motivate
Koh-Jing-Jie-Marcus Apr 1, 2023
ecef301
Add Target Weight Feature
Koh-Jing-Jie-Marcus Apr 1, 2023
97f1b14
Merge pull request #168 from Koh-Jing-Jie-Marcus/branch-TargetWeight
Koh-Jing-Jie-Marcus Apr 1, 2023
9684541
Fix bugs ('List' command for exercises)
MustafaAH10 Apr 1, 2023
a9a72df
Add functionality to delete exercise
MustafaAH10 Apr 1, 2023
fe3e6c0
Try and fix gradle errors
MustafaAH10 Apr 1, 2023
766de35
Merge pull request #169 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 1, 2023
985e9be
Update userData
Koh-Jing-Jie-Marcus Apr 1, 2023
fcb06c3
Fix target weight implementation
Koh-Jing-Jie-Marcus Apr 2, 2023
79ebd07
Merge pull request #170 from Koh-Jing-Jie-Marcus/branch-FixTarget
Koh-Jing-Jie-Marcus Apr 2, 2023
2abfef4
Add meal exercises examples
Koh-Jing-Jie-Marcus Apr 2, 2023
e62f9c8
Merge pull request #171 from Koh-Jing-Jie-Marcus/branch-CommonExercises
Koh-Jing-Jie-Marcus Apr 2, 2023
d964189
Fix bugs (Exercise Storage issue)
MustafaAH10 Apr 2, 2023
1dcf7cb
Merge pull request #172 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 2, 2023
ecd548f
add exampledata
Koh-Jing-Jie-Marcus Apr 2, 2023
0ccad35
Merge pull request #174 from Koh-Jing-Jie-Marcus/branch-CommonExercises
Koh-Jing-Jie-Marcus Apr 2, 2023
ff763ff
Help Command
TJ-Hoo Apr 2, 2023
940e607
bug fixes
MingEn82 Apr 2, 2023
a76ccab
bug fixes
MingEn82 Apr 2, 2023
990341e
bug fixes
MingEn82 Apr 2, 2023
9256c04
bug fixes
MingEn82 Apr 2, 2023
f95e991
bug fixes
MingEn82 Apr 2, 2023
5cb87eb
runtest fix?
MingEn82 Apr 2, 2023
ef1e703
fixed filter
MingEn82 Apr 2, 2023
f6ff9bd
Merge pull request #176 from MingEn82/branch-MingEn
MingEn82 Apr 2, 2023
74680c6
Help command
TJ-Hoo Apr 2, 2023
758573b
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp …
TJ-Hoo Apr 2, 2023
29ef3f4
Fixed gradle
TJ-Hoo Apr 2, 2023
eb6be5c
Merge pull request #178 from TJ-Hoo/branch-TJHoo
TJ-Hoo Apr 2, 2023
9b2a5d0
Added Nasi Padang food data
TJ-Hoo Apr 2, 2023
973b3e0
Merge pull request #179 from TJ-Hoo/branch-TJHoo
TJ-Hoo Apr 2, 2023
c2ef483
Create TJ-Hoo.md
TJ-Hoo Apr 3, 2023
9988d8a
Add ExampleUi
Koh-Jing-Jie-Marcus Apr 3, 2023
ee1bea1
Merge pull request #180 from Koh-Jing-Jie-Marcus/branch-CommonExercises
Koh-Jing-Jie-Marcus Apr 3, 2023
87599ec
Update filter command
Koh-Jing-Jie-Marcus Apr 4, 2023
ffe9798
Merge pull request #181 from Koh-Jing-Jie-Marcus/branch-Marcus
Koh-Jing-Jie-Marcus Apr 4, 2023
df16d98
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 4, 2023
299f00f
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 4, 2023
3af9afd
fix bug issues on viewing null input
Masahiro21 Apr 4, 2023
f4144f3
update userGuide
Masahiro21 Apr 4, 2023
9420b1d
Merge pull request #182 from Masahiro21/branch-Hamada
Masahiro21 Apr 4, 2023
aba11c6
Create Koh-Jing-Jie-Marcus.md
Koh-Jing-Jie-Marcus Apr 4, 2023
630439d
Update Koh-Jing-Jie-Marcus.md
Koh-Jing-Jie-Marcus Apr 4, 2023
94f8f74
Fix nutrition command
TJ-Hoo Apr 4, 2023
e31b07d
Fix spacing
TJ-Hoo Apr 4, 2023
98602b1
Merge pull request #184 from TJ-Hoo/branch-TJHoo
TJ-Hoo Apr 4, 2023
fad21f3
Create tj-hoo.md
TJ-Hoo Apr 5, 2023
9fafd11
Delete TJ-Hoo.md
TJ-Hoo Apr 5, 2023
fac96d9
Create koh-jing-jie-marcus.md
TJ-Hoo Apr 5, 2023
2643c88
Delete Koh-Jing-Jie-Marcus.md
TJ-Hoo Apr 5, 2023
e054d0e
Add test cases for ExamplesCommand
Koh-Jing-Jie-Marcus Apr 5, 2023
750ab5c
Merge pull request #194 from Koh-Jing-Jie-Marcus/branch-Marcus
Koh-Jing-Jie-Marcus Apr 5, 2023
eb334d8
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 5, 2023
df6922d
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 5, 2023
2012063
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 5, 2023
bf9eb89
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 5, 2023
0d09b60
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 5, 2023
a194d5f
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 5, 2023
e5b6858
Update UserGuide.md
Koh-Jing-Jie-Marcus Apr 5, 2023
db10c32
Update UserGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
4d57f3b
Update UserGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
543c7ba
Add filter and examples PNG
Koh-Jing-Jie-Marcus Apr 6, 2023
d8f41ab
Merge pull request #195 from Koh-Jing-Jie-Marcus/branch-Marcus
Koh-Jing-Jie-Marcus Apr 6, 2023
4f5a758
Update UserGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
7af0c97
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
75b6b57
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
39ed8c2
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
18ba6a2
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
98cf395
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
81da149
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
c52688b
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
bfc33f0
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
8eb5d49
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
b1ff01a
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
b5439fc
Update tj-hoo.md
TJ-Hoo Apr 6, 2023
63cf08f
Delete koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
55e2578
Create koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
146f4fb
Add functionality to track history within specified dates
MustafaAH10 Apr 6, 2023
5698b2f
Merge commit '55e2578507b6e9e6b750a0b2f11f7850c94e928b' into branch-M…
MustafaAH10 Apr 6, 2023
5e225c5
Added PPP [Mustafa]
MustafaAH10 Apr 6, 2023
c74f1a7
fix checkstyle errors
MustafaAH10 Apr 6, 2023
a92955b
Merge pull request #196 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 6, 2023
b0f2337
Update DeveloperGuide.md
TJ-Hoo Apr 6, 2023
77be37f
fixed bugs and added UG/DG
MingEn82 Apr 6, 2023
2bed52a
fixed bugs and added UG/DG
MingEn82 Apr 6, 2023
c41cca9
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp …
MingEn82 Apr 6, 2023
2572e7b
fixed bugs and added UG/DG
MingEn82 Apr 6, 2023
13d0e13
added uml pptx
MingEn82 Apr 6, 2023
99fb4b9
fixed gradle
MingEn82 Apr 6, 2023
e562782
fixed gradle
MingEn82 Apr 6, 2023
d1b9acd
fixed gradle
MingEn82 Apr 6, 2023
8e17d1c
Merge pull request #197 from MingEn82/branch-MingEn
MingEn82 Apr 6, 2023
40573f9
Create DeveloperGuide.md
TJ-Hoo Apr 6, 2023
48549a9
Update DeveloperGuide.md
TJ-Hoo Apr 6, 2023
c4fdf4e
Update DeveloperGuide.md
TJ-Hoo Apr 6, 2023
6879fd5
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
824992f
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
9ab74dc
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 6, 2023
7678900
updated mingen82.md
MingEn82 Apr 6, 2023
adca157
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp …
MingEn82 Apr 6, 2023
2068f88
Merge pull request #198 from MingEn82/branch-MingEn
MingEn82 Apr 6, 2023
2217f9e
Update DeveloperGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
ccad539
updated readmes
MingEn82 Apr 6, 2023
ad0e453
Merge pull request #199 from MingEn82/branch-MingEn
MingEn82 Apr 6, 2023
253a327
Update DeveloperGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
464bfaf
Update DeveloperGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
476264d
Update DeveloperGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
249ac57
Add UML for filter and examples
Koh-Jing-Jie-Marcus Apr 6, 2023
871bb36
Merge pull request #200 from Koh-Jing-Jie-Marcus/branch-Marcus
Koh-Jing-Jie-Marcus Apr 6, 2023
1dd4855
Update DeveloperGuide.md
Koh-Jing-Jie-Marcus Apr 6, 2023
c218684
Add UML
Koh-Jing-Jie-Marcus Apr 6, 2023
8010476
Update test
Koh-Jing-Jie-Marcus Apr 6, 2023
68951b9
log
Koh-Jing-Jie-Marcus Apr 6, 2023
e0dd9fb
Merge pull request #201 from Koh-Jing-Jie-Marcus/branch-Marcus
Koh-Jing-Jie-Marcus Apr 6, 2023
6502c77
update logfile
Masahiro21 Apr 6, 2023
7399cc4
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 6, 2023
e0566d3
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 6, 2023
f3ae540
add draft-PPP
Masahiro21 Apr 6, 2023
f815dc3
Merge pull request #202 from Masahiro21/branch-Hamada
Masahiro21 Apr 6, 2023
33916a4
fix data parsing invalid date issues
Masahiro21 Apr 6, 2023
b4ebf70
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 6, 2023
7630fb4
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 6, 2023
6e171d2
Update tj-hoo.md
TJ-Hoo Apr 7, 2023
46089c4
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
eaef4c6
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
0d5357e
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
d97347d
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
58729a1
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
80e57cb
Add files via upload
TJ-Hoo Apr 7, 2023
2073005
change ViewUserCommand and UpdateUserCommand to take in single line i…
Masahiro21 Apr 7, 2023
fa539ef
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
8a75d9a
abstract helpCommand output into GeneralUi and change CommandParser i…
Masahiro21 Apr 7, 2023
48f4234
add exceptions for ViewUserCommand and UpdateUserCommand
Masahiro21 Apr 7, 2023
a787285
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 7, 2023
de7fe24
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 7, 2023
d0ae7da
Merge pull request #203 from Masahiro21/branch-Hamada
Masahiro21 Apr 7, 2023
17ddb78
Update tj-hoo.md
TJ-Hoo Apr 7, 2023
c5fb4e2
Update DeveloperGuide.md
TJ-Hoo Apr 7, 2023
eea62f4
Update UserGuide.md
TJ-Hoo Apr 7, 2023
86a765d
change UpdateUserCommand to accept one liner inputs
Masahiro21 Apr 7, 2023
963b456
Merge pull request #209 from Masahiro21/branch-Hamada
Masahiro21 Apr 7, 2023
f1b2756
update draft PPP
Masahiro21 Apr 7, 2023
e05d41c
Merge pull request #210 from Masahiro21/branch-Hamada
Masahiro21 Apr 7, 2023
34219cc
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp …
Masahiro21 Apr 7, 2023
bc20d5d
update viewUserCommand to take in field names instead of numbers
Masahiro21 Apr 7, 2023
7281bd7
update UG images and details as well as help command
Masahiro21 Apr 7, 2023
ab7e84a
Merge pull request #211 from Masahiro21/branch-Hamada
Masahiro21 Apr 7, 2023
b9941c0
Fix date input issue
MustafaAH10 Apr 8, 2023
3362722
Add Junit test for Track Calorie Command
MustafaAH10 Apr 8, 2023
1d0340f
Fix gradle errors
MustafaAH10 Apr 8, 2023
5c23b32
Update JUnit for delete command
MustafaAH10 Apr 8, 2023
2573025
Add JUnit test for exit command
MustafaAH10 Apr 8, 2023
6b50f96
Add Junit test for list command
MustafaAH10 Apr 8, 2023
0ce2fe7
Fix gradle
MustafaAH10 Apr 8, 2023
73bc851
Fix gradle
MustafaAH10 Apr 8, 2023
b8143ef
Merge pull request #212 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 8, 2023
2555d87
Fix bug which doesn't save deleted exercises on exit
MustafaAH10 Apr 8, 2023
4a66c82
Merge pull request #213 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 8, 2023
b898f8a
Update DG and track calories command
MustafaAH10 Apr 8, 2023
4726521
Merge pull request #214 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 8, 2023
f2fb193
Add files via upload
TJ-Hoo Apr 9, 2023
e164c58
Update DeveloperGuide.md
TJ-Hoo Apr 9, 2023
c54c765
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 9, 2023
68ce70a
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 9, 2023
bf4f0bf
Update DeveloperGuide.md
TJ-Hoo Apr 9, 2023
25aaf3d
Update DeveloperGuide.md
TJ-Hoo Apr 9, 2023
d4036e7
Update UserGuide.md
TJ-Hoo Apr 9, 2023
57ca5cd
Update UserGuide.md
TJ-Hoo Apr 9, 2023
3a2762c
Update UserGuide.md
TJ-Hoo Apr 9, 2023
8cbf0d2
Update UG and DG
MustafaAH10 Apr 9, 2023
b170eae
Update PPP
MustafaAH10 Apr 9, 2023
b5c64a6
Merge commit '3a2762c18086d72df65ef3599a68aeb84967afef' into branch-M…
MustafaAH10 Apr 9, 2023
cd1f33a
Merge pull request #215 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 9, 2023
18c20b2
Update README.md
TJ-Hoo Apr 9, 2023
aefd412
updated main page readme
MingEn82 Apr 9, 2023
dc09bad
fix issue with viewUserCommand diagram
Masahiro21 Apr 9, 2023
5d6a748
add diagrams for updateUserCommand
Masahiro21 Apr 9, 2023
d5c9c53
Merge pull request #218 from Masahiro21/branch-Hamada
Masahiro21 Apr 9, 2023
3209900
Merge pull request #217 from MingEn82/branch-MingEn
TJ-Hoo Apr 10, 2023
84d4308
Update DeveloperGuide.md
TJ-Hoo Apr 10, 2023
deaed0e
Update DeveloperGuide.md
TJ-Hoo Apr 10, 2023
46d4e9e
Update DeveloperGuide.md
TJ-Hoo Apr 10, 2023
6304c80
Update DeveloperGuide.md
TJ-Hoo Apr 10, 2023
a07c504
Update UserGuide.md
TJ-Hoo Apr 10, 2023
c947f9e
Update tj-hoo.md
TJ-Hoo Apr 10, 2023
6e76eba
update changes
Masahiro21 Apr 10, 2023
8fd51ae
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 10, 2023
9e8c2a7
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 10, 2023
d6c1adb
fixed empty meals added
MingEn82 Apr 10, 2023
2463983
updated config.yaml
MingEn82 Apr 10, 2023
d159964
Merge pull request #225 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
ccfc96b
Add files via upload
TJ-Hoo Apr 10, 2023
5dc6063
added PPP links
MingEn82 Apr 10, 2023
7446c27
Merge pull request #226 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
1c536ec
Update DeveloperGuide.md
TJ-Hoo Apr 10, 2023
d2b4187
fixed table in DG
MingEn82 Apr 10, 2023
9dbed41
Update DeveloperGuide.md
TJ-Hoo Apr 10, 2023
70cdfeb
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp …
MingEn82 Apr 10, 2023
04dee89
Merge pull request #227 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
416efb7
Update UserGuide.md
TJ-Hoo Apr 10, 2023
e0654a0
fixed table in DG
MingEn82 Apr 10, 2023
4f6cd6d
Merge pull request #228 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
dd4cfd0
fixed DG table
MingEn82 Apr 10, 2023
7f914b7
Merge pull request #229 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
1579739
fix UpdateUserCommand accepting special characters for name and absur…
Masahiro21 Apr 10, 2023
7a4e19f
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 10, 2023
424c755
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 10, 2023
273b5d9
Merge pull request #230 from Masahiro21/branch-Hamada
Masahiro21 Apr 10, 2023
ce9e69c
added exception tracking for FilterCalorieCommand
MingEn82 Apr 10, 2023
ffeac2a
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp …
MingEn82 Apr 10, 2023
f77e8c4
Merge pull request #231 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
79f708b
Fix gradle errors
MustafaAH10 Apr 10, 2023
00c3a9d
Merge pull request #232 from MustafaAH10/branch-Mustafa
MustafaAH10 Apr 10, 2023
82b2389
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 10, 2023
ed40657
Update UserGuide.md
MustafaAH10 Apr 10, 2023
33f7bcc
Update README.md
TJ-Hoo Apr 10, 2023
a569d55
Update UserGuide.md
TJ-Hoo Apr 10, 2023
35992c0
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 10, 2023
6a5d5aa
Update koh-jing-jie-marcus.md
Koh-Jing-Jie-Marcus Apr 10, 2023
8486ed7
Update tj-hoo.md
TJ-Hoo Apr 10, 2023
4ed9a71
Update UserGuide.md
MustafaAH10 Apr 10, 2023
2e06bcc
Update UserGuide.md
MustafaAH10 Apr 10, 2023
308e454
Update UserGuide.md
MustafaAH10 Apr 10, 2023
5c7c2fe
Update README.md
MustafaAH10 Apr 10, 2023
7354b64
Update tj-hoo.md
TJ-Hoo Apr 10, 2023
112236d
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 10, 2023
0f0c95f
update DG manual testing section and PPP
Masahiro21 Apr 10, 2023
29e19f6
Merge pull request #233 from Masahiro21/branch-Hamada
Masahiro21 Apr 10, 2023
9507e52
move ppp to docs folder
Masahiro21 Apr 10, 2023
9d8eaa1
fixed table in UG
MingEn82 Apr 10, 2023
f4a37a8
Merge pull request #234 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
57a8e32
fixed typo
MingEn82 Apr 10, 2023
af31091
Merge pull request #236 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
89f5702
remove ppp from docs folder
Masahiro21 Apr 10, 2023
e7888f2
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 10, 2023
3da4d49
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 10, 2023
f7759b9
updated about us page
MingEn82 Apr 10, 2023
5557572
Merge pull request #237 from MingEn82/branch-MingEn
MingEn82 Apr 10, 2023
1e1246f
Merge branch 'master' of https://github.com/AY2223S2-CS2113-W15-1/tp
Masahiro21 Apr 10, 2023
e23189c
Merge branch 'master' into branch-Hamada
Masahiro21 Apr 10, 2023
129821d
fixed bug in updateUserCommand to trim any additional spaces between …
Masahiro21 Apr 10, 2023
57bd5fc
Merge pull request #238 from Masahiro21/branch-Hamada
Masahiro21 Apr 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT

# plantuml jar
plantuml.jar
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
3 changes: 3 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: seedu.lifetracker.LifeTracker

47 changes: 32 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
# Duke project template
# LifeTracker

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.
LifeTracker is a desktop application used for encouraging users to lead a healthier life by tracking their net calorie intake. The user interacts with it using a CLI. LifeTracker is written in Java 11 and has about 4 kLoC.

Useful links:

* [User Guide](./docs/UserGuide.md)
* [Developer Guide](./docs/DeveloperGuide.md)

## Setting up in Intellij

Prerequisites: JDK 11 (use the exact version), update Intellij to the most recent version.

1. **Ensure Intellij JDK 11 is defined as an SDK**, as described [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk) -- this step is not needed if you have used JDK 11 in a previous Intellij project.
1. **Import the project _as a Gradle project_**, as described [here](https://se-education.org/guides/tutorials/intellijImportGradleProject.html).
1. **Verify the set up**: After the importing is complete, locate the `src/main/java/seedu/duke/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
1. **Verify the set up**: After the importing is complete, locate the `src/main/java/seedu/lifetracker/LifeTracker.java` file, right-click it, and choose `Run LifeTracker.main()`. If the setup is correct, you should see something like the below:

```
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

> Task :Duke.main()
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|

What is your name?

> Task :run
Initialised Meal Storage
Initialised User Storage
Initialised Exercise Storage
------------------------------------------------------------
Hello! Welcome to
_ _ __ _______ _
| | (_)/ _||__ __| | |
| | _| |_ ___| |_ __ __ _ ___| | _____ _ __
| | | | _/ _ \ | '__/ _` |/ __| |/ / _ \ '__|
| |____| | || __/ | | | (_| | (__| < __/ |
|______|_|_| \___|_|_| \__,_|\___|_|\_\___|_|

------------------------------------------------------------
Hello! I am LifeTracker, a program to aid you in keeping fit!

Please enter command 'help' if you require assistance.
------------------------------------------------------------
```

Type some word and press enter to let the execution proceed to the end.

## Build automation using Gradle
Expand All @@ -39,7 +55,7 @@ Prerequisites: JDK 11 (use the exact version), update Intellij to the most recen

### JUnit tests

* A skeleton JUnit test (`src/test/java/seedu/duke/DukeTest.java`) is provided with this project template.
* A skeleton JUnit test (`src/test/java/seedu/duke/DukeTest.java`) is provided with this project template.
* If you are new to JUnit, refer to the [JUnit Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/junit.html).

## Checkstyle
Expand All @@ -55,7 +71,8 @@ The project uses [GitHub actions](https://github.com/features/actions) for CI. W

`/docs` folder contains a skeleton version of the project documentation.

Steps for publishing documentation to the public:
Steps for publishing documentation to the public:

1. If you are using this project template for an individual project, go your fork on GitHub.<br>
If you are using this project template for a team project, go to the team fork on GitHub.
1. Click on the `settings` tab.
Expand Down
20 changes: 18 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'jacoco'
}

repositories {
Expand All @@ -12,6 +13,7 @@ repositories {
dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0'
implementation 'com.opencsv:opencsv:5.6'
}

test {
Expand All @@ -29,11 +31,11 @@ test {
}

application {
mainClass = "seedu.duke.Duke"
mainClass = "seedu.lifetracker.LifeTracker"
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "lifeTracker"
archiveClassifier = null
}

Expand All @@ -43,4 +45,18 @@ checkstyle {

run{
standardInput = System.in
enableAssertions = true
}

jacoco {
toolVersion = "0.8.5"
reportsDirectory = file("$buildDir/jacoco")
}

test {
finalizedBy jacocoTestReport
}

jacocoTestReport {
dependsOn test
}
186 changes: 186 additions & 0 deletions data/FoodData.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
ID,Type,Name,Store,Store Number,Energy (Kcal),Protein (g),Total Fat (g),Saturated Fat (g),Dietary Fibre (g),Carbohyrate (g),Sugar (g),Sodium (g)
0,Dish,Black Pepper Chicken Chop ,Western,1,775,42.4,51.7,,,31.6,6.9,
1,Dish,Chicken Cutlet ,Western,1,966,47.8,60.1,,,54.9,7.2,
2,Dish,Grilled Dory Fish ,Western,1,530,45.1,21.3,,,37.2,8.2,
3,Dish,Fish & Chip ,Western,1,838,46.4,49.1,,,50.7,8.3,
4,Dish,Black Pepper Ribeye Steak ,Western,1,807,44.9,45.6,,,53.2,9.3,
5,Dish,Combo Set 1: Ribeye Steak & Grilled Chicken,Western,1,831,43.2,48.7,,,52.5,9,
6,Dish,Combo Set 2: Ribeye Steak & Grilled Fish,Western,1,680,41.3,33.2,,,52.4,9.2,
7,Dish,Combo Set 3: Ribeye Steak & Grilled Salmon,Western,1,776,42.4,43.6,,,52.3,9,
8,Dish,Combo Set 4: Grilled Chicken Chop & Grilled Salmon,Western,1,846,43.7,50.8,,,51.1,9,
9,Dish,Combo Set 5: Grilled Chicken Chop & Grilled Dory Fish,Western,1,750,42.7,40.3,,,51.3,9.2,
10,Dish,Arrabiata ,Western,1,295,10.3,5.1,,,50,7.3,
11,Dish,Pomodoro ,Western,1,341,13.9,2.7,,,69,21.6,
12,Dish,Creamy Chicken Spaghetti (Small) ,Western,1,755,31.6,54.3,,,34.1,3.7,
13,Dish,Creamy Chicken Spaghetti (Normal) ,Western,1,822,34,54.7,,,47.2,4,
14,Dish,Creamy Chicken Spaghetti (Upsize) ,Western,1,901,36.9,55.2,,,62.7,4.3,
15,Dish,Creamy Chicken Ham & Mushroom Spaghetti (Small) ,Western,1,571,19.2,38.2,,,37.8,4.2,
16,Dish,Creamy Chicken Ham & Mushroom Spaghetti (Normal) ,Western,1,638,21.7,38.6,,,50.9,4.4,
17,Dish,Creamy Chicken Ham & Mushroom Spaghetti (Upsize) ,Western,1,717,24.6,39,,,66.4,4.7,
18,Dish,Prawns & Mushroom Spaghetti (Small) ,Western,1,557,20.5,36.5,,,36.9,4,
19,Dish,Prawns & Mushroom Spaghetti (Normal) ,Western,1,624,23,36.9,,,50,4.2,
20,Dish,Prawns & Mushroom Spaghetti (Upsize) ,Western,1,703,25.9,37.3,,,65.4,4.5,
21,Dish,Hot Chicken Spaghetti (Small) ,Western,1,298,16.6,8.6,,,36.9,7,
22,Dish,Hot Chicken Spaghetti (Normal) ,Western,1,365,19.1,9,,,50,7.3,
23,Dish,Hot Chicken Spaghetti (Upsize) ,Western,1,444,22,9.4,,,65.5,7.6,
24,Dish,Creamy Sausage & Mushroom Spaghetti (Small) ,Western,1,688,28.8,46.7,,,37.6,4,
25,Dish,Creamy Sausage & Mushroom Spaghetti (Normal) ,Western,1,755,31.3,47,,,50.7,4.2,
26,Dish,Creamy Sausage & Mushroom Spaghetti (Upsize) ,Western,1,834,34.2,47.5,,,66.1,4.5,
27,Dish,Alfredo (Small) ,Western,1,651,28.9,42.8,,,37.8,4.2,
28,Dish,Alfredo (Normal) ,Western,1,718,31.3,43.2,,,50.9,4.4,
29,Dish,Alfredo (Upsize) ,Western,1,797,34.2,43.7,,,66.4,4.7,
30,Dish,Chicken Patty Spaghetti ,Western,1,530,29.3,19.1,,,58.4,7.6,
31,Dish,Chicken Cheese Ball Spaghetti ,Western,1,501,24.3,16.7,,,61.7,9.6,
32,Dish,Salmon e Funghi Spaghetti (Small) ,Western,1,715,31.2,49.4,,,36.9,4,
33,Dish,Salmon e Funghi Spaghetti (Normal) ,Western,1,782,33.7,49.7,,,50,4.2,
34,Dish,Salmon e Funghi Spaghetti (Upsize) ,Western,1,861,36.6,50.2,,,65.4,5,
35,Dish,Seafood Marinara (Small) ,Western,1,373,36.1,7.8,,,37.9,7,
36,Dish,Seafood Marinara (Normal) ,Western,1,440,38.5,8.1,,,51,7,
37,Dish,Seafood Marinara (Upsize) ,Western,1,519,41.4,8.6,,,66.5,8,
38,Dish,Creamy Fish Pasta (Small) ,Western,1,616,32.1,39,,,34.1,4,
39,Dish,Creamy Fish Pasta (Normal) ,Western,1,683,34.6,39.4,,,47.2,4,
40,Dish,Creamy Fish Pasta (Upsize) ,Western,1,762,37.5,39.8,,,62.7,4,
41,Dish,Baked Beans & Fries & Sausage,Western,1,359,16.8,22,,,21.7,4,
42,Dish,Baked Beans & Mashed Potato & Sausage ,Western,1,447,18.6,24.6,,,35.6,6,
43,Side,Mashed Potato,Western,1,89,1.9,2.5,,,13.8,2,
44,Side,Sunny Side Up,Western,1,102,7,8,,,0.5,0,
45,Side,French Fries,Western,1,164,1.3,11.6,,,13.5,0,
46,Side,Hot Dog,Western,1,153,13.4,10.3,,,0.7,0,
47,Side,Spaghetti,Western,1,157,5.8,0.9,,,30.8,1,
48,Side,Tasty Rice,Western,1,210,4.2,0.8,,,46.7,0,
49,Side,Chicken Ham,Western,1,36,3.8,1.9,,,1,0,
50,Side,Coleslaw,Western,1,68,0.7,4.7,,,4.9,9.4,
51,Dish,Signature Trio Eggs Spinach Soup (Regular),Ramen,10,256,,,,,,14,
52,Dish,Signature Trio Eggs Spinach Soup (Small Portion),Ramen,10,119,,,,,,0,
53,Dish,Seafood Spinach Soup (Regular),Ramen,10,188,,,,,,1,
54,Dish,Seafood Spinach Soup (Small Portion),Ramen,10,113,,,,,,0,
55,Dish,Sliced Fish Spinach Soup (Regular),Ramen,10,224,,,,,,0,
56,Dish,Sliced Fish Spinach Soup (Small Portion),Ramen,10,134,,,,,,0,
57,Dish,Fried Fish Spinach Soup (Regular),Ramen,10,282,,,,,,0,
58,Dish,Fried Fish Spinach Soup (Small Portion),Ramen,10,169,,,,,,0,
59,Dish,Double Mixed Fish Spinach Soup (Regular),Ramen,10,257,,,,,,0,
60,Dish,Double Mixed Fish Spinach Soup (Small Portion),Ramen,10,191,,,,,,0,
61,Dish,Fresh Mushrooms with Ramen (Regular),Ramen,10,303,,,,,,5,
62,Dish,Fresh Mushrooms with Ramen (Small Portion),Ramen,10,182,,,,,,3,
63,Dish,Mala Dry Ramen w Chicken Cheeseballs,Ramen,10,676,,,,,,8,
64,Dish,Mala Dry Ramen w Fuzhou Fishballs,Ramen,10,713,,,,,,10,
65,Dish,Mala Beef Ramen Soup,Ramen,10,644,,,,,,7,
66,Side,Egg (side),Ramen,10,28,,,,,,0,
67,Side,Century Egg (side),Ramen,10,1,,,,,,0,
68,Side,Salted Egg (side),Ramen,10,7,,,,,,0,
69,Side,Wolfberry (side),Ramen,10,8,,,,,,1,
70,Side,Spinach (side),Ramen,10,2,,,,,,0,
71,Side,Minced Pork (side),Ramen,10,135,,,,,,0,
72,Side,Sliced Fish (side),Ramen,10,59,,,,,,0,
73,Side,Fried Fish (side),Ramen,10,117,,,,,,0,
74,Side,Prawns (side),Ramen,10,55,,,,,,0,
75,Side,Chicken Cheeseballs (side),Ramen,10,94,,,,,,5,
76,Side,Fuzhou Fishballs (side),Ramen,10,93,,,,,,6,
77,Side,Sliced Beef (side),Ramen,10,107,,,,,,0,
78,Side,White Rice (side),Ramen,10,232,,,,,,0,
79,Side,Thick Bee Hoon (side),Ramen,10,276,,,,,,0,
80,Side,Thin Bee Hoon (side),Ramen,10,251,,,,,,0,
81,Side,Brown Rice (side),Ramen,10,218,,,,,,0,
82,Side,Koka Noodle (side),Ramen,10,286,,,,,,4,
83,Side,Ee Mee (side),Ramen,10,377,,,,,,2,
84,Side,Ramen (side),Ramen,10,262,,,,,,4,
85,Ingredient,Mala Sauce (Non-Spicy Base),Mala,4,46,1.7,0.1,0,0.4,9.7,5.3,1006
86,Ingredient,Coriander,Mala,4,0,0,0,0,0.1,0,0,1
87,Ingredient,White Rice,Mala,4,237,4.7,0.8,0.2,0.7,52.6,0.2,8
88,Ingredient,Sotong Ring,Mala,4,51,8.6,0.8,0.2,0,1.7,1.7,24
89,Ingredient,Prawn,Mala,4,34,7.8,0.2,0.1,0,0,0,134
90,Ingredient,Fish Slice,Mala,4,57,12.8,0.5,0.1,0,0.1,0.1,51
91,Ingredient,Chicken Gizzard,Mala,4,45,8.5,1,0.3,0,0,0,33
92,Ingredient,Beef Slice,Mala,4,109,11.8,6.9,3.3,0,0,0,32
93,Ingredient,Shitake Mushroom,Mala,4,16,1,0.2,0,1.2,2,1.1,4
94,Ingredient,King Oyster Mushroom,Mala,4,13,1.3,0.2,0,0.7,1.4,0.7,2
95,Ingredient,Xiao Bai Cai,Mala,4,7,0.8,0.1,0,0.5,0.6,0.6,36
96,Ingredient,Wintermelon,Mala,4,31,0.3,2.4,0.6,0.9,1.7,1,195
97,Ingredient,Tomato,Mala,4,16,1,0.1,0,0.4,2.6,2.6,11
98,Ingredient,Potato,Mala,4,45,1.5,0.1,0,1.1,8.6,0.4,3
99,Ingredient,Lady's Finger,Mala,4,11.2,0.6,0,0,1.1,2.1,2.1,10.8
100,Ingredient,Kang Kong,Mala,4,9,1.1,0.1,0,0.9,0.4,0,47
101,Ingredient,Cucumber,Mala,4,20,0.3,0,0,0.3,1.9,1.9,7
102,Ingredient,Cauliflower,Mala,4,15,2,0,0,1.4,3,2.9,35
103,Ingredient,Cabbage,Mala,4,9,1.4,0.3,0,0,2.8,0,14
104,Ingredient,Broccoli,Mala,4,12,1.3,0,0,1.2,0.9,0.9,4
105,Ingredient,Brinjal,Mala,4,11,0.7,0,0,0.4,2.3,2.3,4
106,Ingredient,Taugay,Mala,4,437,1.5,0.1,0,0.9,0.8,0.5,1
107,Ingredient,Potato Starch Noodle,Mala,4,349,0,0,0,0,108.1,0,0
108,Ingredient,Instant Noodle,Mala,4,170,8.1,11.7,5.9,0.6,52.9,2.4,85
109,Ingredient,Taiwan Sausage,Mala,4,156,7.2,13,5.8,0,6.2,3.1,287
110,Ingredient,Seaweed Chicken,Mala,4,82,7.5,12,2.5,1,4.9,1.4,307
111,Ingredient,Saito Fish Cake,Mala,4,48,12.1,3,1.6,1.1,1.9,0.8,843
112,Ingredient,Quail Egg,Mala,4,46,4,3.4,1.1,0,0.1,0.1,43
113,Ingredient,Mushroom Ball,Mala,4,47,5.8,0.5,0,0,3.9,0,0
114,Ingredient,Mini Fish Ball,Mala,4,210,6.9,1.3,0.2,0.5,1.8,0.6,243
115,Ingredient,Luncheon Meat,Mala,4,107,6.2,19.3,7.4,0.5,2.8,0,559
116,Ingredient,Mini Sausage,Mala,4,141,4.5,8.3,3.6,0,3.9,1.9,178
117,Ingredient,Fish Ball (Fried),Mala,4,99,10.5,9.8,1.2,0.7,2.8,0.9,370
118,Ingredient,Fish Tau Foo,Mala,4,135,4.8,5.8,0.8,0.7,7,2.8,304
119,Ingredient,Cuttlefish Ball,Mala,4,21,8.5,7.1,2.8,1.5,9.4,1.5,537
120,Ingredient,Cuttlefish,Mala,4,11,4.4,0.2,0,0,0.2,0,100
121,Ingredient,Crabstick,Mala,4,100,1.2,0,0,0,0.6,0,16
122,Ingredient,Crab Claw,Mala,4,64,3.8,4.3,2,0,11.6,1.9,383
123,Ingredient,Crab Ball,Mala,4,42,5.8,2,0.6,0.9,5.8,1.5,453
124,Ingredient,Chickuwa,Mala,4,95,5.5,0.5,0,0,3.2,0,377
125,Ingredient,Chicken Hotdog,Mala,4,122,5.5,7,1.9,0.5,2.4,0.8,450
126,Ingredient,Cheese Tofu,Mala,4,33,6.4,9.1,3.6,0.7,3.7,2.1,486
127,Ingredient,Bermuda Triangle Tofu (Taupok),Mala,4,12,3.3,1.5,0.2,0.2,1.5,0.6,3
128,Ingredient,White Radish,Mala,4,126,0.6,0.1,0,0.8,2.2,2.2,47
129,Ingredient,Peanut,Mala,4,170.5,7.4,14.1,2.1,2.5,2.7,1.5,0.3
130,Ingredient,Thick Beehoon,Mala,4,126.1,2.3,0.4,0.1,0.4,28.3,0,7
131,Ingredient,Tau Kwa,Mala,4,50,5,2.3,0.4,0.2,2.3,1,4
132,Ingredient,Lotus Root,Mala,4,51,1.2,0.1,0,2.4,12.3,0.4,34
133,Ingredient,Kelp,Mala,4,27,1.8,0.4,0.1,0.3,5.2,0.4,526
134,Ingredient,Enoki Mushroom,Mala,4,13,0.9,0.1,0,0.9,1.8,0.1,1
135,Ingredient,Black Fungus,Mala,4,19,1.3,0.2,0,2.3,3,0,8
136,Ingredient,Beancurd Skin (Non-Fried),Mala,4,77,8.2,2.9,0.5,3.4,0.5,0.5,0
137,Ingredient,Beancurd Skin (Fried),Mala,4,76,4.4,5.5,0.7,1.8,0.3,0.3,0
138,Ingredient,Mala Sauce (Very Spicy Base),Mala,4,257,0.6,27.7,4.8,1,2,0.5,2
139,Ingredient,Mala Sauce (Spicy Base),Mala,4,191,0.6,20.2,3.5,1,2,0.5,2
140,Ingredient,Mala Sauce (Slightly Spicy Base),Mala,4,95,0.3,10.1,1.7,0.5,1,0.2,1
141,Dish,White Chicken Rice,Chicken Rice,12,533,19.5,17.3,5.7,1.6,74.6,6,5.0
142,Dish,Char Siew Rice,Chicken Rice,12,697,21.9,29.6,11.2,1.6,86.1,16.7,3.7
143,Dish,Roasted Pork Rice,Chicken Rice,12,680,22,29.6,11.1,3.1,80.3,5.6,4.5
144,Dish,Roasted Chicken Noodles (Egg Noodles) - Regular,Chicken Rice,12,320,17.1,7.7,2,2.9,43.3,2.3,1.6
145,Dish,Roasted Chicken Noodles (Egg Noodles) - Large,Chicken Rice,12,388,25.3,11.5,3.2,3,43.6,2.3,1.7
146,Dish,Roasted Chicken Noodles (Hor Fun) - Regular,Chicken Rice,12,341,12.8,6.9,2.5,1.5,56.7,1.7,1.6
147,Dish,Roasted Chicken Noodles (Hor Fun) - Large,Chicken Rice,12,21,10.7,3.7,1.7,57,1.7,1.7,
148,Dish,White Chicken Noodles (Egg Noodles) - Regular,Chicken Rice,12,307,15.2,7.5,2.2,2.7,42.4,1.7,2.6
149,Dish,White Chicken Noodles (Egg Noodles) - Large,Chicken Rice,12,365,21.3,11.1,3.6,2.7,42.4,1.7,2.6
150,Dish,White Chicken Noodles (Hor Fun) - Regular,Chicken Rice,12,328,10.9,6.7,2.7,1.4,55.8,1,2.6
151,Dish,White Chicken Noodles (Hor Fun) - Large,Chicken Rice,12,386,17,10.4,4.1,1.4,55.8,1,2.7
152,Dish,Char Siew Noodles (Egg Noodles) - Regular,Chicken Rice,12,410,16.4,13.6,5,2.7,53.5,12.4,1.3
153,Dish,Char Siew Noodles (Egg Noodles) - Large,Chicken Rice,12,529,23.7,23.4,9.1,2.7,53.8,12.4,1.4
154,Dish,Char Siew Noodles (Hor Fun) - Regular,Chicken Rice,12,431,12.1,12.9,5.5,1.4,66.9,11.7,1.3
155,Dish,Char Siew Noodles (Hor Fun) - Large,Chicken Rice,12,550,19.4,22.7,9.6,1.4,67.2,11.7,1.4
156,Dish,Roasted Pork Noodles (Egg Noodles) - Regular,Chicken Rice,12,395,16.6,13.9,5,4.2,47.8,1.4,2.0
157,Dish,Roasted Pork Noodles (Egg Noodles) - Large,Chicken Rice,12,511,23.7,23.4,9.1,4.2,48.1,1.4,2.1
158,Dish,Roasted Pork Noodles (Hor Fun) - Regular,Chicken Rice,12,416,12.3,13.1,5.5,2.8,61.2,0.7,2.0
159,Dish,Roasted Pork Noodles (Hor Fun) - Large,Chicken Rice,12,533,19.4,22.7,9.6,2.8,61.4,0.7,2.2
160,Dish,Roasted Chicken Rice + Veg + Half Egg Set Meal,Chicken Rice,12,604,28.1,21.2,5.7,2.4,75.4,6.1,4.2
161,Dish,White Chicken Rice + Veg + Half Egg Set Meal,Chicken Rice,12,582,24.1,20.9,6.1,2.1,74.2,5.5,5.2
162,Dish,Char Siew Rice + Veg + Half Egg Set Meal,Chicken Rice,12,746,26.5,33.2,11.6,2.1,85.6,16.2,3.9
163,Dish,Roasted Pork Rice + Veg + Half Egg Set Meal,Chicken Rice,12,728,26.5,33.2,11.6,3.6,79.9,5.1,4.7
164,Dish,Curry Chicken Bee Hoon,Chicken Rice,12,744,15.8,34.7,26.9,4.9,90.9,30,6.3
165,Dish,Curry Chicken Noodles,Chicken Rice,12,777,21.7,37.8,27.6,6,85.8,28.7,6.3
166,Dish,Chicken Shredded Porridge,Chicken Rice,12,8.3,3.8,1.4,0.2,20.6,0.9,2.2,
167,Dish,Roasted Pork Rice Soup,Chicken Rice,12,9.7,10.2,4.2,1.7,26,0.6,1.6,
168,Side,Roasted Chicken,Chicken Rice,12,8.2,3.9,1.2,0.2,1.2,1,0.7,
169,Side,White Chicken,Chicken Rice,12,6.3,3.7,1.4,0,0.3,0.3,1.7,
170,Side,Char Siew,Chicken Rice,12,7.5,9.8,4.2,0,11.4,11,0.4,
171,Side,Roasted Pork,Chicken Rice,12,264,14.9,19.6,8.2,1.5,6,0,1.3
172,Side,Veg 1 (Cai Xin),Chicken Rice,12,0.8,0.1,0,0.7,0.4,0.5,0.3,
173,Side,Veg 2 (Nonya Chap Chye),Chicken Rice,12,2.1,1.1,0.2,0.6,1.3,0.7,0.2,
174,Side,Braised Egg,Chicken Rice,12,8,7,0.9,0,0.6,0.6,0.3,
175,Side,Sausage,Chicken Rice,12,6.2,9.6,3.8,0.4,2.4,0.5,0.3,
176,Side,Liver + Gizzards,Chicken Rice,12,17.5,2.6,0.8,0,0.3,0,0.1,
177,Side,Roasted Chicken (1 Pax),Chicken Rice,12,16.4,7.7,2.4,0.3,1.5,1,0.8,
178,Side,Roasted Chicken (2 Pax),Chicken Rice,12,32.8,15.4,4.7,0.7,3,2.1,1.7,
179,Side,Roasted Chicken (3 Pax),Chicken Rice,12,49.3,23.1,7.1,1,4.5,3.1,2.5,
180,Side,White Chicken (1 Pax),Chicken Rice,12,12.5,7.4,2.8,0,0.3,0.3,1.7,
181,Side,White Chicken (2 Pax),Chicken Rice,12,24.9,14.7,5.6,0,0.6,0.7,3.4,
182,Side,White Chicken (3 Pax),Chicken Rice,12,37.4,22.1,8.4,0,0.8,1,5.2,
183,Side,Plain Chicken Rice,Chicken Rice,12,411,6.9,10,2.9,1.4,73.4,4.7,3.3
184,Side,White Rice,Chicken Rice,12,5.9,1.1,0.2,0.8,65.8,0.2,11,
17 changes: 17 additions & 0 deletions data/createFoodData.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
if __name__ == "__main__":
TAB = " "

with open("FoodData.csv", "r") as data_file, open("FoodData.java", "w") as write_file:
write_file.write("package seedu.database;\n\n")
write_file.write("public final class FoodData {\n")
write_file.write(TAB +"private static final String[] foodData = {\n")
foods = data_file.readlines()
for food in foods:
food = food.replace('\n', '')
food_1, food_2 = food[:len(food)//2], food[len(food)//2:]
write_file.write(TAB + TAB + f'"{food_1}" +\n' + TAB + TAB + TAB + f'"{food_2}",\n')
write_file.write(TAB + "};\n\n")
write_file.write(TAB + "public static String[] getFoodData() {\n")
write_file.write(TAB + TAB + "return foodData;\n")
write_file.write(TAB + "}\n")
write_file.write("}\n")
2 changes: 2 additions & 0 deletions data/exerciseData.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Exercise Name,Exercise Description,Calories Burnt
Running,5km,400.0,1/1/2023
2 changes: 2 additions & 0 deletions data/mealData.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Date,Foods,Meal Type
1/1/2023,0-1-2-0-1-2-0-1-2,Breakfast
Binary file added data/pdfs/Chicken-Rice.pdf
Binary file not shown.
Binary file added data/pdfs/Ramen-Fish-Soup.pdf
Binary file not shown.
Binary file added data/pdfs/Well-Mala-Hotpot.pdf
Binary file not shown.
Binary file added data/pdfs/Western-TE-1.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions data/userData.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Name,Weight,Height,Age,Gender,TargetWeight
Marucs ,60.0,175.0,21,male,50.0
Loading