:heavy_exclamation_mark: Caution Follow the steps in the following guide precisely. Things will not work out if you deviate in some steps.
First, fork this repo, and clone the fork into your computer. If you plan to use Intellij IDEA (highly recommended):
File → Close Project
to close the existing project dialog first).Configure → Project Defaults → Project Structure
New…
and set it to the directory of the JDK.File → Settings → Plugins
to re-enable them.Import Project
(or Open or Import in newer version of Intellij).build.gradle
file (not the root folder as you would do in a normal importing) and select it. Click OK.java -jar NUS.Duke.Launcher.jar
and try a few commands.The Architecture Diagram shown gives an overview of the high-level design.
Main
has a class file named Launcher
, run the main class method in Duke.java
. It would perform the following functions:
The application then consists of four other components:
UI
: The UI of Duke.Logic
: The command executor.Model
: Hold the data of events in memory.Storage
: Read data from, and writes data to the hard disk.One example would be the Storage
component which defines its API in ParseUtil.java, writeToFile() Function
as well as exposes its functionality using the same class.
API: ParseUtil.java, writeToFile() Function
The Storage Component,
Load function will read the text file and passing the list of string in the file to the decoding class.
Saving function will Encode the task detail and pass it back to storage to save to the file.
To manage all tasks faster than a typical written down method
* * *
, Medium (nice to have) - * *
, Low (unlikely to have) - *
Priority | Version | As a … | I want to … | So that I can … |
---|---|---|---|---|
* * * |
v1.0 | Student | remind me to buy fruits | eat more healthy |
* * * |
v1.0 | Student | remind me to attend school project meeting at meeting room | discuss project details |
* * * |
v1.0 | Student | remind me to finish school work by friday night | submit assignment on time |
NUS Expenses Tracker
and the Actor is the NUS Student
)11
or above installed.
add chicken rice $4.00 2020-11-01 /C FOOD.
).