This is the Admin Panel frontend for the QR-Based Attendance System. It allows administrators to manage students, teachers, and attendance records via an intuitive dashboard interface.
The backend is successfully deployed on an Azure Virtual Machine using:
- Nginx as the reverse proxy
- SQLite
- 🔐 Secure Login – Admin authentication with role-based access.
- 📊 Dashboard Overview – Visual analytics of attendance data.
- 👥 Student & Teacher Management – CRUD operations on users.
- 📝 Attendance Records – View and export attendance.
- ⚙️ API Integration – Connects seamlessly to the Django REST API.
- React (Vite)
- Tailwind CSS
- Axios – For API calls
- Recharts – For data visualization
- Node.js >= 16.x
- npm or yarn
git clone https://github.com/Ranjesh2002/AttenQR_Admin.git
cd Adminnpm installVITE_API_BASE_URL=https://<your-backend-domain>/apinpm run devssh <your-vm-username>@<your-vm-ip>sudo apt update
sudo apt install nodejs npmgit clone https://github.com/Ranjesh2002/AttenQR_Admin.git
cd AttenQR_Adminnpm install
npm run buildserver {
listen 80;
server_name <your-vm-ip or domain>;
root /var/www/attendance-admin;
index index.html;
location / {
try_files $uri /index.html;
}
}sudo nginx -t
sudo systemctl reload nginx- Always configure CORS properly on the Django backend to allow requests from your frontend domain.
- Store sensitive keys securely (do not commit .env).
- Use HTTPS in production.
-JWT authentication -Dark mode -Role-based access for more granular permissions -Attendance data export to CSV/PDF
Feel free to fork the repo and submit pull requests to contribute.
This project is licensed under the MIT License.
Ranjesh Thakur 3rd-year BSc. Computing student | Passionate about full-stack & mobile development