Repository navigation
SmartSpend Budget Tracker - v1.0 Initial Release
This marks the first stable release of the SmartSpend Budget Tracker. This desktop application helps users manage personal finances by tracking income and expenses, and provides an option to send a financial summary via email.
Download & Run (For End-Users)
This is the easiest way to use the application if you already have Java installed.
- Download the Executable JAR:
- Download
SmartSpend-1.0-SNAPSHOT.jarfrom the "Assets" section below.
- Download
- Run the Application:
- Open your terminal or command prompt.
- Navigate to the directory where you downloaded the JAR file.
- Execute the command:
java -jar SmartSpend-1.0-SNAPSHOT.jar
- (Requires Java Development Kit (JDK) or Java Runtime Environment (JRE) version 21 or higher.)
Configure Email Reports (Mandatory for Email Functionality)
To enable the "Email Report" feature, you need to set up your own Gmail account for sending.
- Enable 2-Step Verification on your Google Account:
- Generate an "App Password":
- Go to myaccount.google.com/apppasswords.
- Follow the instructions to create a new App Password (e.g., name it "SmartSpend App"). Google will provide a 16-character password. Copy this password.
- Create
config.properties:- In the same directory where you placed the
SmartSpend-1.0-SNAPSHOT.jarfile, create a new text file namedconfig.properties.
- In the same directory where you placed the
- Add Your Credentials:
- Open
config.propertiesand add your Gmail address and the 16-character App Password:(Important: ReplaceEMAIL_USER=your.email@gmail.com EMAIL_PASS=your16characterapppassword
your.email@gmail.comwith your actual Gmail address andyour16characterapppasswordwith the unique 16-character App Password generated by Google.)
- Open
Building from Source (For Developers)
If you wish to build the application from its source code, follow these steps.
Prerequisites
- Java Development Kit (JDK): Version 21 or later.
- Apache Maven: Version 3.6 or later.
- Git: For cloning the repository.
Steps
- Clone the repository:
git clone https://github.com/Arpitha-P-Ajay/SmartSpend.git
- Open in IDE: Open the project in a Java IDE (VS Code, IntelliJ IDEA, Eclipse). The IDE will handle dependency downloads via Maven.
- Configure Email (for local development/testing):
- Navigate to
src/main/resources/. - Create
config.propertiesand add yourEMAIL_USERandEMAIL_PASS(as described in the "Configure Email Reports" section above). This file is ignored by Git.
- Navigate to
- Build the Project:
- Open a terminal in the project's root directory and run:
mvn clean install
- Open a terminal in the project's root directory and run:
- Run from IDE: Execute the
mainmethod insrc/main/java/com/smartspend/App.javato start the application.