An open API service indexing awesome lists of open source software.

https://github.com/sagarbhoi404/qr-code-attendance-system

The QR Code-Based Attendance System is a robust attendance management solution developed using PHP and MySQL. The system supports three roles: Admin, Teacher, and Student, each with distinct functionalities to ensure efficient and secure attendance tracking in educational institutions.
https://github.com/sagarbhoi404/qr-code-attendance-system

datatable font-awesome jquery mysql php phpexcel

Last synced: 9 months ago
JSON representation

The QR Code-Based Attendance System is a robust attendance management solution developed using PHP and MySQL. The system supports three roles: Admin, Teacher, and Student, each with distinct functionalities to ensure efficient and secure attendance tracking in educational institutions.

Awesome Lists containing this project

README

          

# QR Code-Based Attendance System

## Project Description

The QR Code-Based Attendance System is a robust attendance management solution developed using PHP and MySQL. The system supports three roles: Admin, Teacher, and Student, each with distinct functionalities to ensure efficient and secure attendance tracking in educational institutions.

### Key Features:
- **Admin Role**:
- Add, view, and edit students, teachers, and timetables.
- View and manage all attendance records, including the ability to manually mark attendance in case of scanning issues.
- Manage attendance data for multiple classes, semesters, and batches.

- **Teacher Role**:
- Generate QR codes for attendance for allocated classes, semesters, and batches.
- View attendance records for their classes.

- **Student Role**:
- Mark attendance by scanning the QR code generated by the teacher during the lecture.
- View their attendance records.

### Advanced Security Features:
- **IP Address Restriction**: Only one attendance is allowed per student per IP address to prevent multiple submissions.
- **Proxy & VPN Prevention**: Attendance marking is restricted to ensure that students cannot use proxies or VPNs.
- **Location Verification**: Attendance can only be marked if the student is within the allowed campus radius, ensuring the student is physically present on campus.
- **Time-Sensitive Attendance**: QR codes are valid only during the lecture time, adding another layer of security.

## Live Demo

Check out the live demo of the project [here](https://sagarbhoi.in/project-demos/qr-code-attendance-system/).

## Technologies Used

- **PHP**: Server-side scripting language used for backend development.
- **MySQL**: Database management system for storing user, attendance, and timetable data.
- **Bootstrap**: Frontend framework for responsive design and layout.
- **jQuery**: JavaScript library for DOM manipulation and event handling.
- **DataTables**: jQuery plugin for enhancing HTML tables with pagination, search, and sorting features.
- **Font Awesome**: Icon library used for adding visual elements to the UI.

## Installation

### Prerequisites:
- A web server with PHP and MySQL support (e.g., XAMPP, WAMP, LAMP).
- A MySQL database.

### Steps:
1. **Clone the repository**:
```sh
git clone https://github.com/SagarBhoi404/qr-code-attendance-system.git
cd qr-code-attendance-system
```

2. **Setup MySQL Database**:
- Create a new database named `qrattendance`.
- Import the SQL file provided in the `database.sql` directory to set up the necessary tables.

3. **Configure the Application**:
- Create a `.env` file in the root directory and add the following:
```env
DB_HOST=localhost
DB_USER=root
DB_PASS=123
DB_NAME=qrattendance
```

4. **Deploy the Application**:
- Place the project files in your web server's root directory (e.g., `htdocs` for XAMPP).
- Access the application via your browser at `http://localhost/qr-code-attendance-system`.

5. **Default Admin Credentials**:
- **Username**: `admin`
- **Password**: `123`

## Usage

1. **Admin Panel**: Log in as an admin to manage students, teachers, timetables, and attendance records.
2. **Teacher Portal**: Teachers can log in to generate QR codes for their classes and view attendance.
3. **Student Portal**: Students log in to scan QR codes during lectures and view their attendance history.

## Screenshots

**Admin Panel**

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815913/qrattendance/Screenshot_11_wmiko6.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_12_u1sqfy.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_13_ke4zpd.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_14_elke71.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_15_quv3gr.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_16_hylziv.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_17_nv9eak.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815802/qrattendance/Screenshot_18_ig2gvb.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815803/qrattendance/Screenshot_19_dbarel.png)

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_20_bniy27.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_21_mfthqs.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_22_aoudoo.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_23_mwh85i.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724815801/qrattendance/Screenshot_24_fvetgy.png)

**Teacher Panel**

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816341/qrattendance/Screenshot_3_enxbz7.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816342/qrattendance/Screenshot_4_rhrnqt.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816342/qrattendance/Screenshot_5_pya7re.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816341/qrattendance/Screenshot_6_iy5flm.png)

**Student Panel**

![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816418/qrattendance/Screenshot_7_agcbob.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816419/qrattendance/Screenshot_8_np3suu.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816419/qrattendance/Screenshot_9_yjbk6t.png)
![App Screenshot](https://res.cloudinary.com/deejomzni/image/upload/v1724816418/qrattendance/Screenshot_10_gkbpbc.png)