Welcome! This project helps households and workers connect for local services.
To run this project successfully, please follow the setup steps below.
- Java Development Kit (JDK) 8 or above
Make sure Java is installed on your machine. Download JDK - MySQL or MariaDB Server
Required for storing all project data.
-
JavaFX
Used for building the project’s graphical user interface.- Download: JavaFX Downloads
- Add JavaFX .jar files to your project's libraries/module path.
- For Maven/Gradle users, see OpenJFX Docs.
-
MySQL Connector/J
Enables Java to connect to MySQL/MariaDB databases.- Download: MySQL Connector/J
- Add the
mysql-connector-java-x.x.x.jarto your project’s libraries.
-
javax.mail
Used for sending emails (e.g., notifications, confirmations).- Download: javax.mail (Jakarta Mail)
- Add the
.jarfile to your project’s libraries.
-
Project Database
The project uses a pre-configured sample database.- File:
doer.sql - This file contains all database tables, sample data, views, triggers, and stored procedures needed for the app to function.
- File:
git clone https://github.com/Doer-Project/Doer.git
cd Doer- Open MySQL Workbench, phpMyAdmin, or your command line.
- Create a new database, e.g.,
doer. - Import the provided
doer.sqlfile:mysql -u youruser -p doer < doer.sql - Update your Java application's DB connection string as needed.
- Ensure JavaFX, MySQL Connector/J, and javax.mail jars are added to your IDE/project.
- For manual projects, add them to your classpath.
- For Maven/Gradle, include dependencies as shown below:
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>20.0.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
</dependency>
</dependencies>- Database Connection Issues:
Double-check your DB username, password, and port. The default port is usually3306. - JavaFX Errors:
Ensure the JavaFX jars are on your module path, not just the classpath. - Missing Libraries:
Download and add all required jars as per above instructions.
If you’re new to Java projects, don’t hesitate to ask for help or search the documentation links above!