A smart attendance tracking system with automated verification, analytics, and WhatsApp integration for absentee alerts.
- Smart Attendance: Mark attendance easily with a toggle-based UI.
- WhatsApp Integration: Automatically send absentee lists to WhatsApp groups.
- Student Management: Manual registration and bulk Excel import.
- Analytics Dashboard: Visualize attendance trends and download detailed reports.
- Security: Role-based access control (Admin/Staff) and JWT-based authentication.
Follow these steps to get the project running on your local machine.
Open your terminal or command prompt and run:
git clone https://github.com/javal-gttc/attendanceByIntelligence.git
cd "attendanceByIntelligence"Install all required Node.js packages:
npm installCreate a file named .env in the root directory and add the following (replace placeholders with your actual Supabase credentials):
PORT=5000
SUPABASE_URL=YOUR_SUPABASE_PROJECT_URL
SUPABASE_KEY=YOUR_SUPABASE_SERVICE_ROLE_KEY
JWT_SECRET=your_random_secret_stringCreate a Supabase project and run the following tables in the SQL Editor:
students: (id, name, register_number, section)attendance_records: (id, student_id, status, section, attendance_date, recorded_by)users: (id, username, password, role, uid)
Start the server:
npm startThe application will be available at http://localhost:5000.
- Login: Use your authorized credentials.
- Mark Attendance: Select a section, mark students, and click "Finalize Attendance".
- WhatsApp Redirect: If there are absentees, a prompt will appear. Click "OK" to open WhatsApp with the pre-filled list.
- Analytics: Go to the Analytics tab to view trends and download reports.
- Frontend: Vanilla HTML5, CSS3, JavaScript
- Backend: Node.js, Express.js
- Database: Supabase (PostgreSQL)
- Utilities: Chart.js, XLSX, JWT