This project contains a Java application that performs internship management functions.
Make sure you have the following software installed on your computer before proceeding:
- Java Development Kit (JDK)
- PostgreSQL database server
- Eclipse IDE
- Open Eclipse IDE.
- Select the File menu and choose the Import option.
- In the opened window, select Existing Maven Projects and click Next.
- Specify the directory where the project is located (Root Directory) and click Finish.
- Eclipse will import the Maven project and add it to the project explorer.
- Ensure that Lombok is installed in your IDE.
- If Lombok is not installed, follow these steps:
- Close your IDE.
- Add the Lombok library to your IDE.
- Start your IDE.
After importing the project, Eclipse will automatically load the dependencies using Maven. This process may take some time and runs in the background. To compile your Maven project, follow these steps:
- Right-click on the project and select Run As from the context menu, then click on Maven Install.
- When the Maven project build process is complete, you will see a successful message in the console.
To use the PostgreSQL database server, follow these steps:
- Open the
application.properties
file located undersrc/main/resources
. - Update your database connection information according to your PostgreSQL server (e.g., URL, username, password, etc.).
- Save the changes.
- There should be a Java class representing the entry point of the application under
src/main/java/tr.edu.ogu.ceng.InternshipManagementSystemApplication
class. - To run the application, follow these steps:
- Locate the entry point class and right-click on it.
- From the context menu, select Run As, and then click on Java Application.
- When the application runs successfully, you will see the relevant output in the console.
When the application is running, you can access the expected screens by navigating to localhost:8080
in your web browser.
Note: Make sure the application is running on the specified port, which is
8080
by default.