Welcome to the Student Attendance System! ๐ This application helps in managing student attendance by scanning QR codes and recording attendance data.
Follow these instructions to get the project up and running on your local machine.
-
Clone the repository
git clone https://github.com/yourusername/student-attendance-system.git cd student-attendance-system
-
Install dependencies
npm install
-
Set up environment variables
Create a
.env
file in the root directory and add your Discord bot token and webhook URL:DISCORD_BOT_TOKEN=your_discord_bot_token DISCORD_WEBHOOK_URL=your_discord_webhook_url
-
Run the application
Start the server:
node server.js
The application will be available at
http://localhost:3000
.
- Open the application in your browser.
- Select a subject by clicking the corresponding button.
- Scan a student QR code using the webcam.
- The attendance will be recorded and updated in real-time on Discord.
!attendance <student_name>
: Get the attendance record of a specific student.
This project is licensed under the MIT License - see the LICENSE file for details.