Attendance System
Attendance System is a JavaFX application that allows users to manage and track the attendance of students or employees. It uses MySQL as the database and Maven as the build tool. It is developed using IntelliJ IDEA as the IDE.
Features
- Login page: Users can log in to the application using their username and password. The login information is verified with the database
- Dashboard: To view graphs and charts of absent/present
- Add Student: To add student to the system and perform CRUD operation
- Available course: To add courses in the system
- Attendance: To Mark Entry and Exit Time for attendance
Software Requirements
Before you dive in, make sure to download and install the following:
Installation
Configuring SceneBuilder
Before opening the view.fxml
files in SceneBuilder, you need to add essential dependencies.
- Add the following dependencies to SceneBuilder:
io.github.palexdev:materialfx:11.16.1
org.kordamp.ikonli:ikonli-fontawesome-pack:12.3.1
org.kordamp.ikonli:ikonli-fontawesome5-pack:12.3.1
org.kordamp.ikonli:ikonli-javafx:12.3.1
- To add these dependencies, follow these steps within SceneBuilder:
- Select the Empty desktop application option.
- On the left panel, click the gear icon next to “Library” and the search bar.
- Choose JAR/FXML Manager.
- Click Search repositories.
- Search and add the dependencies one by one:
io.github.palexdev:materialfx
org.kordamp.ikonli:ikonli-fontawesome-pack
org.kordamp.ikonli:ikonli-fontawesome5-pack
org.kordamp.ikonli:ikonli-javafx
- Select each item from the search results and click Add Jar.
- Choose Import Component.
- Repeat these steps until all dependencies are added.
Setting Up IntelliJ IDEA IDE
- Open IntelliJ IDEA and select Get from VCS.
- In the “GitHub” tab, log in to your GitHub account.
- Click the “Repository URL” tab and paste the project URL:
https://github.com/XAPHNE/AttendanceSystem
. Then click Clone.
Configuring XAMPP
- Start both the MySQL and Apache servers.
- Open a web browser and navigate to
http://localhost/phpmyadmin/index.php
. - Click on SQL in the top navigation panel.
-
Copy and paste the following SQL code:
CREATE DATABASE attendance_system; CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin'; GRANT ALL PRIVILEGES ON attendance_system.* TO 'admin'@'localhost';
NOTE: Ignore the above
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'admin';
line if you already have a user in your MySQL server named as admin - Refresh the page or just the database panel on the left and select the attendance_system database from the panel.
- Click on Import in the top navigation panel.
- Select Choose file and navigate to the
src/main/resources/attendance_system.sql
file within the project directory. Then click Import.
Running the Project
You can run the project by pressing Shift + F10
on the src/main/java/com/bsmi/attendancesystem/AttendanceApplication.java
file.
Now, enjoy the benefits of our Attendance System!
Screenshots
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
For more information about the GNU GPL v3.0 license, please visit the GNU website.