MooMooMoney is a command line money management application written in Java 11.
It allows a user to:
- Add a category.
- Set a budget for that category.
- Add an expenditure into that category.
- View savings in a formatted table.
- View expenditure in a graph format.
- Schedule payment on a future date.
- Notify users when they are about to overspent.
Prerequisites
- JDK 11
- Recommended: IntelliJ IDE
- Fork this repo to your GitHub account and clone the fork to your computer
Importing the project into IntelliJ
- Open IntelliJ (if you are not in the welcome screen, click
File
>Close Project
to close the existing project dialog first). - Set up the correct JDK version.
- Click
Configure
>Structure for new Projects
(in older versions of Intellij:Configure
>Project Defaults
>Project Structure
). - If JDK 11 is listed in the drop down, select it. If it is not, click
New...
and select the directory where you installed JDK 11. - Click
OK
.
- Click
Import Project
. - Locate the project directory and click
OK
. - Select
Create project from existing sources
and clickNext
. - Rename the project if you want. Click
Next
. - Ensure that your src folder is checked. Keep clicking
Next
. - Click
Finish
.
Gradle is integrated into the project and can be used to run various functions.
Examples
gradle run
to start the applicationgradle test
to run JUnit Tests writtengradle checkstyleMain checkstyleTest
to run a coding standard check based on the configuration.
Setting up
- If the dropdown box beside the run button is empty, click the dropdown box >
Edit Configurations
- Click on
+
>Gradle
- At the end of the
Gradle Project
text box on the right, click the folder with a blue icon, selectduke
as the project. - Click
OK
- To run specific
gradle
commands, click onGradle
on the right of IntelliJ, click on theelephant icon
labeledExecute Gradle Task
- Type in any
gradle
command as per the above examples. - The option should appear in the dropdown box and it can be selected to run that task.
Java JAR files are regularly released under Releases which can be ran on Windows, Linux and MacOS.
- Install Java 11 JDK and ensure that
java --version
showsjava 11.0.X
- Open command prompt and run
java -jar MooMooMoney-X.jar