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-T16-2] Canteen #49

Open
wants to merge 258 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
d74ec3c
test
AnnanWangDaniel Oct 12, 2020
0c3c188
Merge pull request #6 from AnnanWangDaniel/master
AnnanWangDaniel Oct 12, 2020
bd28d2d
Create Main.java
AnnanWangDaniel Oct 12, 2020
5f7fe65
Merge pull request #7 from AnnanWangDaniel/master
AnnanWangDaniel Oct 12, 2020
02866c3
Update Main.java
AnnanWangDaniel Oct 14, 2020
07c7776
Update Main.java
AnnanWangDaniel Oct 14, 2020
ee300d5
update
Louis-Feng Oct 14, 2020
28c877b
Merge pull request #8 from AnnanWangDaniel/master
AnnanWangDaniel Oct 14, 2020
daa90fb
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Oct 14, 2020
35e0316
add code related to Order
Oct 14, 2020
f7113e3
Merge pull request #9 from WYing333/master
WYing333 Oct 14, 2020
92554e8
do some refactor
Oct 14, 2020
2678c31
no message
Oct 14, 2020
a64a38e
no message
Oct 14, 2020
288e1bb
change of order method
Louis-Feng Oct 14, 2020
4fba3a5
Merge pull request #1 from AY2021S1-CS2113-T16-2/master
AnnanWangDaniel Oct 14, 2020
d20c06a
Merge pull request #10 from AnnanWangDaniel/master
AnnanWangDaniel Oct 20, 2020
f05c8b0
Update Main.java
AnnanWangDaniel Oct 20, 2020
01d5d4e
Merge pull request #2 from AY2021S1-CS2113-T16-2/master
AnnanWangDaniel Oct 22, 2020
0dfce3f
update
AnnanWangDaniel Oct 22, 2020
c950eda
Merge pull request #12 from AnnanWangDaniel/master
AnnanWangDaniel Oct 22, 2020
515b18f
DG draft
AnnanWangDaniel Oct 22, 2020
9067a2a
Merge pull request #13 from AnnanWangDaniel/master
AnnanWangDaniel Oct 22, 2020
7d3ff2d
upadate of main
Louis-Feng Oct 31, 2020
b9026df
update1
Louis-Feng Oct 31, 2020
3c66b4a
Update 2
xX-Conan-Xx Oct 31, 2020
0c63fc6
update Dish class
Oct 31, 2020
c0c5fca
update the initialise part
Oct 31, 2020
1446480
update the operating time
Oct 31, 2020
2148f47
Update 3
xX-Conan-Xx Oct 31, 2020
66bdf2c
add the help command
Oct 31, 2020
b916116
Update 4
xX-Conan-Xx Oct 31, 2020
d15a93d
update
Oct 31, 2020
964aa6b
v2.0
Louis-Feng Nov 1, 2020
2bd217a
Update 5
Nov 1, 2020
2a0741a
Update 6
xX-Conan-Xx Nov 1, 2020
2508347
update changeorder
Nov 1, 2020
945e370
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 1, 2020
f18fa8b
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 1, 2020
bef8871
Merge remote-tracking branch 'origin/master' into master
Louis-Feng Nov 1, 2020
4dbf19e
no message
Nov 1, 2020
5bb3e55
v2.0
Louis-Feng Nov 1, 2020
af0ce62
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 1, 2020
a6d77e9
update
Louis-Feng Nov 1, 2020
8895cfa
Merge branches 'master' and 'master' of https://github.com/AY2021S1-C…
Nov 1, 2020
3d6858f
update
Louis-Feng Nov 1, 2020
7cd2977
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 1, 2020
e04270b
Merge remote-tracking branch 'origin/master'
Nov 1, 2020
7f75bea
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 1, 2020
b0d6879
Update deliveryOrder.java
Louis-Feng Nov 1, 2020
1356ccf
update delivery order
Nov 1, 2020
bdec093
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 1, 2020
463f814
edit typo
Nov 1, 2020
bc6442f
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 1, 2020
875e5be
Update deliveryOrder.java
Louis-Feng Nov 1, 2020
6d830e0
Update DeveloperGuide.md
WYing333 Nov 1, 2020
393dc39
add image folder and arch img
Nov 1, 2020
65403ec
Update DeveloperGuide.md
WYing333 Nov 1, 2020
aa06437
Exception Update
xX-Conan-Xx Nov 1, 2020
8c8e5f2
Merge remote-tracking branch 'origin/master' into master
xX-Conan-Xx Nov 1, 2020
724d743
typo edited version
xX-Conan-Xx Nov 1, 2020
d1088bf
Update DeveloperGuide.md
WYing333 Nov 1, 2020
20578fb
Update DeveloperGuide.md
WYing333 Nov 1, 2020
7d4ebda
Update DeveloperGuide.md
WYing333 Nov 1, 2020
a6aa51f
add canteen4
Nov 3, 2020
c3d743f
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 3, 2020
66ebec3
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
721c5bf
screenshot
Louis-Feng Nov 7, 2020
ef41d3f
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
6d4b6fe
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
40dc3a9
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
3c3b61f
include more canteens
Louis-Feng Nov 7, 2020
ea5ff28
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 7, 2020
3a04e99
update help command and fix minor error
Nov 7, 2020
a60d4b1
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 7, 2020
a636b34
fix typo error
Nov 7, 2020
1ecef02
Update DeveloperGuide.md
WYing333 Nov 7, 2020
b5fc96b
update img
Nov 7, 2020
e00a096
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 7, 2020
8c3ff21
Update DeveloperGuide.md
WYing333 Nov 7, 2020
32edb21
Update DeveloperGuide.md
WYing333 Nov 7, 2020
9a9d682
Update DeveloperGuide.md
WYing333 Nov 7, 2020
0f7ff8d
add img
Nov 7, 2020
d71ba9f
UI update
xX-Conan-Xx Nov 7, 2020
e010d02
Update DeveloperGuide.md
WYing333 Nov 7, 2020
e26b5ae
update img
Nov 7, 2020
74394ad
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 7, 2020
276367c
Update DeveloperGuide.md
WYing333 Nov 7, 2020
fa2db55
update img
Nov 7, 2020
11b2abb
UI update1
xX-Conan-Xx Nov 7, 2020
5cfe1ba
Merge remote-tracking branch 'origin/master' into master
xX-Conan-Xx Nov 7, 2020
0681283
uml
Louis-Feng Nov 7, 2020
9fda250
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
025b4bb
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
7b78538
uml update
Louis-Feng Nov 7, 2020
67c1c89
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 7, 2020
227d8ce
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
914f19d
UI update2
xX-Conan-Xx Nov 7, 2020
eaaaca2
Merge remote-tracking branch 'origin/master' into master
xX-Conan-Xx Nov 7, 2020
8c99677
Update DeveloperGuide.md
WYing333 Nov 7, 2020
21ccf9d
Initializer
Louis-Feng Nov 7, 2020
40e08fc
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 7, 2020
7c25088
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
56d58ab
Update DeveloperGuide.md
WYing333 Nov 7, 2020
aef6ee5
Update DeveloperGuide.md
WYing333 Nov 7, 2020
8d2cc41
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
e3f50e1
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
650f360
Update DeveloperGuide.md
WYing333 Nov 7, 2020
4f60570
update
Nov 7, 2020
5323e0c
Comments
Louis-Feng Nov 7, 2020
5a41cf2
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 7, 2020
4411e23
add documentation
Nov 7, 2020
14734dd
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 7, 2020
be43429
add documentation
Nov 7, 2020
cf7ae7a
add documentation
Nov 7, 2020
248f013
update exception
Nov 7, 2020
32d6a5d
documentation
Louis-Feng Nov 7, 2020
7b6f5ce
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 7, 2020
6bceaba
Update DeveloperGuide.md
WYing333 Nov 7, 2020
7a37456
refactor main
Nov 7, 2020
e75f64f
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 7, 2020
1f635c9
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
81d79af
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
d2026db
update
Nov 7, 2020
c0bdd82
Update DeveloperGuide.md
WYing333 Nov 7, 2020
e81b886
Update DeveloperGuide.md
WYing333 Nov 7, 2020
54904d6
Update UserGuide.md
Louis-Feng Nov 7, 2020
8b23838
Update DeveloperGuide.md
WYing333 Nov 7, 2020
ee3a421
import exception
Louis-Feng Nov 7, 2020
1c3f0bb
update UI
Nov 7, 2020
b2c4a0d
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 7, 2020
bc995c6
Update DeveloperGuide.md
WYing333 Nov 7, 2020
6709568
Update UserGuide.md
WYing333 Nov 7, 2020
d6b77d9
UML update
xX-Conan-Xx Nov 7, 2020
62b3dc9
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
xX-Conan-Xx Nov 7, 2020
5b5558e
Update DeveloperGuide.md
WYing333 Nov 7, 2020
2ef7663
Update DeveloperGuide.md
WYing333 Nov 7, 2020
521df29
overall uml
Louis-Feng Nov 7, 2020
9c279b9
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 7, 2020
90018ee
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
e1c3e80
Update DeveloperGuide.md
Louis-Feng Nov 7, 2020
3f53490
Update UserGuide.md
WYing333 Nov 7, 2020
af84a78
Merge remote-tracking branch 'origin/master' into master
xX-Conan-Xx Nov 7, 2020
90d9ed9
ParserTest
xX-Conan-Xx Nov 7, 2020
8b9da73
add JUnit test
Nov 7, 2020
cfc66fd
UItest
xX-Conan-Xx Nov 7, 2020
40a54a8
Merge remote-tracking branch 'origin/master' into master
xX-Conan-Xx Nov 7, 2020
9715408
assertion
Louis-Feng Nov 7, 2020
45734a9
Update UserGuide.md
WYing333 Nov 7, 2020
6596495
Update DeveloperGuide.md
WYing333 Nov 7, 2020
3050d2e
update ug img
Nov 7, 2020
23772ad
Update UserGuide.md
WYing333 Nov 7, 2020
55543ed
bugs fixed version
xX-Conan-Xx Nov 7, 2020
4cf046f
Merge remote-tracking branch 'origin/master' into master
xX-Conan-Xx Nov 7, 2020
b51f9f3
v2.1
xX-Conan-Xx Nov 7, 2020
929b5fe
Update UserGuide.md
WYing333 Nov 7, 2020
76a3a45
Update UserGuide.md
WYing333 Nov 7, 2020
a87df31
update img
Nov 7, 2020
c209f95
update
Nov 7, 2020
b98145d
Update UserGuide.md
WYing333 Nov 7, 2020
262acce
Update UserGuide.md
WYing333 Nov 7, 2020
365c9e8
Update UserGuide.md
WYing333 Nov 7, 2020
4f54f11
Update UserGuide.md
Louis-Feng Nov 7, 2020
9fbc659
update
Nov 7, 2020
6df1896
Update UserGuide.md
WYing333 Nov 7, 2020
c524d44
Update UserGuide.md
WYing333 Nov 7, 2020
0e5d4d9
Update UserGuide.md
WYing333 Nov 7, 2020
3154b38
Update UserGuide.md
WYing333 Nov 7, 2020
b97125a
Update DeveloperGuide.md
Louis-Feng Nov 8, 2020
961c7d9
Update DeveloperGuide.md
Louis-Feng Nov 8, 2020
a642d67
Update AboutUs.md
Louis-Feng Nov 8, 2020
8595d54
Update AboutUs.md
Louis-Feng Nov 8, 2020
21198a9
Update README.md
Louis-Feng Nov 8, 2020
4b9fa48
Set theme jekyll-theme-merlot
Louis-Feng Nov 8, 2020
bbc41a9
change img folder
Nov 8, 2020
5e63bda
Update DeveloperGuide.md
WYing333 Nov 8, 2020
42f86f3
update of order
Louis-Feng Nov 8, 2020
e13e43c
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 8, 2020
5771782
Update DeveloperGuide.md
WYing333 Nov 8, 2020
f93e6f2
Update DeveloperGuide.md
WYing333 Nov 8, 2020
cfc5568
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Louis-Feng Nov 8, 2020
8cbf283
Create louis-feng
Louis-Feng Nov 8, 2020
3775030
Update DeveloperGuide.md
WYing333 Nov 8, 2020
a59b7e6
Update README.md
WYing333 Nov 8, 2020
0e43997
Update DeveloperGuide.md
WYing333 Nov 8, 2020
f3de364
add ppp
Nov 8, 2020
a9871df
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 8, 2020
9298217
Update AboutUs.md
WYing333 Nov 8, 2020
7e4f958
v2.1
xX-Conan-Xx Nov 8, 2020
aac1153
Update wang_ying.md
WYing333 Nov 8, 2020
6109750
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
xX-Conan-Xx Nov 8, 2020
f38ee66
Update DeveloperGuide.md
WYing333 Nov 8, 2020
a08ca8f
Update DeveloperGuide.md
WYing333 Nov 8, 2020
d497ec3
Update DeveloperGuide.md
WYing333 Nov 8, 2020
1efe562
Update DeveloperGuide.md
WYing333 Nov 8, 2020
293bb76
Update DeveloperGuide.md
WYing333 Nov 8, 2020
8e3303b
Update DeveloperGuide.md
WYing333 Nov 8, 2020
d470685
add img
Nov 8, 2020
e7f4508
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 8, 2020
0bae649
Update UserGuide.md
WYing333 Nov 8, 2020
34cf6aa
Update louis-feng
Louis-Feng Nov 8, 2020
e28601b
Rename louis-feng to louis-feng.md
Louis-Feng Nov 8, 2020
a1e7907
Update UserGuide.md
WYing333 Nov 8, 2020
c32c1bb
Update wang_ying.md
WYing333 Nov 8, 2020
bcb619c
Rename wang_ying.md to wying333.md
WYing333 Nov 8, 2020
f383d47
Update wying333.md
WYing333 Nov 8, 2020
26925fb
Update UserGuide.md
WYing333 Nov 8, 2020
32952de
Create MANIFEST.MF
Louis-Feng Nov 8, 2020
3029b6b
release jar file
Nov 8, 2020
a92e227
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 8, 2020
72fd434
update mainfest
Nov 8, 2020
8b5908c
v2.1 bug fixed
xX-Conan-Xx Nov 8, 2020
670f243
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
xX-Conan-Xx Nov 8, 2020
44ed235
Update UserGuide.md
WYing333 Nov 8, 2020
34e0139
v2.1 bug fixed
xX-Conan-Xx Nov 8, 2020
d5c3352
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
xX-Conan-Xx Nov 8, 2020
7bd842c
Update louis-feng.md
Louis-Feng Nov 8, 2020
218203c
Update UserGuide.md
WYing333 Nov 8, 2020
f1895a1
Update UserGuide.md
WYing333 Nov 8, 2020
64c4002
Update UserGuide.md
WYing333 Nov 8, 2020
94297b0
Update UserGuide.md
WYing333 Nov 8, 2020
7c96f2c
Update UserGuide.md
WYing333 Nov 8, 2020
bb5cccd
Update DeveloperGuide.md
WYing333 Nov 8, 2020
09f1ba2
Update wying333.md
WYing333 Nov 8, 2020
174ec33
Update README.md
WYing333 Nov 9, 2020
6e7d20c
Update AboutUs.md
WYing333 Nov 9, 2020
5b43f54
Update AboutUs.md
WYing333 Nov 9, 2020
53a056d
Update AboutUs.md
WYing333 Nov 9, 2020
59cd321
Zeyu's PPP
xX-Conan-Xx Nov 9, 2020
9840880
Update xX-Conan-Xx.md
xX-Conan-Xx Nov 9, 2020
39f8b24
Update louis-feng.md
Louis-Feng Nov 9, 2020
4173bfe
no message
Nov 9, 2020
17440e4
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 9, 2020
1ee8bd4
Update xX-Conan-Xx.md
xX-Conan-Xx Nov 9, 2020
b2b2b85
Update wying333.md
WYing333 Nov 9, 2020
f06be44
Update wying333.md
WYing333 Nov 9, 2020
46ad4a8
Update wying333.md
WYing333 Nov 9, 2020
9882a46
no message
Nov 9, 2020
1a10827
Update louis-feng.md
Louis-Feng Nov 9, 2020
d1921cc
Merge branch 'master' of https://github.com/AY2021S1-CS2113-T16-2/tp
Nov 9, 2020
97a2604
Update wying333.md
WYing333 Nov 9, 2020
2e1a91e
Update wying333.md
WYing333 Nov 9, 2020
63330e8
Update wying333.md
WYing333 Nov 9, 2020
771f418
Update wying333.md
WYing333 Nov 9, 2020
21a9f07
Update xX-Conan-Xx.md
xX-Conan-Xx Nov 9, 2020
2f16045
complementary
Louis-Feng Dec 27, 2020
0d2f8a3
search part
Louis-Feng Dec 28, 2020
b3e632d
Dataset added
xX-Conan-Xx Dec 31, 2020
21cd238
Excel Reading ability added
xX-Conan-Xx Jan 1, 2021
4e70c35
Order Recording ability added
xX-Conan-Xx Jan 2, 2021
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
98 changes: 49 additions & 49 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
name: Java CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

steps:
- name: Set up repository
uses: actions/checkout@master

- name: Set up repository
uses: actions/checkout@master
with:
ref: master

- name: Merge to master
run: git checkout --progress --force ${{ github.sha }}

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk+fx

- name: Build and check with Gradle
run: ./gradlew check

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
name: Java CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up repository
uses: actions/checkout@master
- name: Set up repository
uses: actions/checkout@master
with:
ref: master
- name: Merge to master
run: git checkout --progress --force ${{ github.sha }}
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk+fx
- name: Build and check with Gradle
run: ./gradlew check
- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh
- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh
- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
34 changes: 17 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# IDEA files
/.idea/
/out/
/*.iml

# Gradle build files
/.gradle/
/build/
src/main/resources/docs/

# MacOS custom attributes files created by Finder
.DS_Store
*.iml
bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
# IDEA files
/.idea/
/out/
/*.iml
# Gradle build files
/.gradle/
/build/
src/main/resources/docs/
# MacOS custom attributes files created by Finder
.DS_Store
*.iml
bin/
/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
18 changes: 9 additions & 9 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Contributors

Display | Name | Github Profile | Homepage
---|:---:|:---:|:---:
![](https://avatars0.githubusercontent.com/u/22460123?s=100) | Jeffry Lum | [Github](https://github.com/j-lum/) | [Homepage](https://se.kasugano.moe)
![](https://avatars0.githubusercontent.com/u/1673303?s=100) | Damith C. Rajapakse | [Github](https://github.com/damithc/) | [Homepage](https://www.comp.nus.edu.sg/~damithch/)
# I would like to join this list. How can I help the project

For more information, please refer to our [contributor's guide](https://oss-generic.github.io/process/).
# Contributors
Display | Name | Github Profile | Homepage
---|:---:|:---:|:---:
![](https://avatars0.githubusercontent.com/u/22460123?s=100) | Jeffry Lum | [Github](https://github.com/j-lum/) | [Homepage](https://se.kasugano.moe)
![](https://avatars0.githubusercontent.com/u/1673303?s=100) | Damith C. Rajapakse | [Github](https://github.com/damithc/) | [Homepage](https://www.comp.nus.edu.sg/~damithch/)
# I would like to join this list. How can I help the project
For more information, please refer to our [contributor's guide](https://oss-generic.github.io/process/).
Binary file added Canteen Dataset.xls
Binary file not shown.
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: Logic

Binary file added Order Record.xls
Binary file not shown.
129 changes: 65 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,65 @@
# Duke project template

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.

## Setting up in Intellij

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

1. **Configure Intellij for JDK 11**, as described [here](https://se-education.org/guides/tutorials/intellijJdk.html).
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:
```
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

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

What is your name?
```
Type some word and press enter to let the execution proceed to the end.

## Build automation using Gradle

* This project uses Gradle for build automation and dependency management. It includes a basic build script as well (i.e. the `build.gradle` file).
* If you are new to Gradle, refer to the [Gradle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/gradle.html).

## Testing

### I/O redirection tests

* To run _I/O redirection_ tests (aka _Text UI tests_), navigate to the `text-ui-test` and run the `runtest(.bat/.sh)` script.

### JUnit tests

* 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

* A sample CheckStyle rule configuration is provided in this project.
* If you are new to Checkstyle, refer to the [Checkstyle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/checkstyle.html).

## CI using GitHub Actions

The project uses [GitHub actions](https://github.com/features/actions) for CI. When you push a commit to this repo or PR against it, GitHub actions will run automatically to build and verify the code as updated by the commit/PR.

## Documentation

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

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.
1. Scroll down to the `GitHub Pages` section.
1. Set the `source` as `master branch /docs folder`.
1. Optionally, use the `choose a theme` button to choose a theme for your documentation.
# Canteenhelper

During peak hours, people may not be able to know the dining situation and the density of the canteen they want to go to. To solve this problem, we want to create a program to store and display basic information of stalls in each canteen (e.g. Open hours, current menu, change order etc) to all their potential users. CanteenHelper is a command line (CLI) application that helps students, staff and even tourists order food in canteens efficiently. CanteenHelper will allow users to choose their favorite dishes from different stalls in different canteens based on the date and time provided by the users. They also can check the comments of the dishes and operating hours of the stalls and canteens.

## Setting up in Intellij

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

1. **Configure Intellij for JDK 11**, as described [here](https://se-education.org/guides/tutorials/intellijJdk.html).
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/Logic.java` file, right-click it, and choose `Run Logic.main()`. If the setup is correct, you should see something like the below:
```
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

> Task :Logic.main()
____________________________________________________________

Hello! I'm Canteenhelper

What can I do for you?

____________________________________________________________

Please enter your name/day of week/time arrive:

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

## Build automation using Gradle

* This project uses Gradle for build automation and dependency management. It includes a basic build script as well (i.e. the `build.gradle` file).
* If you are new to Gradle, refer to the [Gradle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/gradle.html).

## Testing

### I/O redirection tests

* To run _I/O redirection_ tests (aka _Text UI tests_), navigate to the `text-ui-test` and run the `runtest(.bat/.sh)` script.

### JUnit tests

* 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

* A sample CheckStyle rule configuration is provided in this project.
* If you are new to Checkstyle, refer to the [Checkstyle Tutorial at se-education.org/guides](https://se-education.org/guides/tutorials/checkstyle.html).

## CI using GitHub Actions

The project uses [GitHub actions](https://github.com/features/actions) for CI. When you push a commit to this repo or PR against it, GitHub actions will run automatically to build and verify the code as updated by the commit/PR.

## Documentation

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

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.
1. Scroll down to the `GitHub Pages` section.
1. Set the `source` as `master branch /docs folder`.
1. Optionally, use the `choose a theme` button to choose a theme for your documentation.
Binary file added [CS2113-T16-2][Canteen].jar
Binary file not shown.
95 changes: 49 additions & 46 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,46 +1,49 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

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'
}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClassName = "seedu.duke.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.23'
}

run{
standardInput = System.in
}
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

dependencies {
compile group: 'org.apache.poi', name: 'poi', version: '3.17'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'
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'

}

test {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClassName = "seedu.duke.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.23'
}

run{
standardInput = System.in
}
Loading