POST /api/auth/register/
a. Register a Teacher
b. Register a Student
POST /api/auth/token/
POST /api/classrooms/Authorization: Bearer <teacher_token>
POST /api/classrooms/{id}/enroll/Authorization: Bearer <student_token>
POST /api/attendance/classrooms/{id}/generate-session/Authorization: Bearer <teacher_token>
POST /api/attendance/mark/Authorization: Bearer <student_token>
GET /api/attendance/student/{student_id}/summary/
GET /api/attendance/class/{class_id}/summary/
GET /api/attendance/class/{class_id}/export/
GET
/api/attendance/class/{id}/summary/?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
This test triggers an email notification to a student who is marked absent for a class session. Run the following script inside your Django project's shell:
Expected Outcome: The specified student
(gajanan) receives an email informing them about their
absence in the ai 106 class.
You can access the Django admin dashboard to manage classrooms, sessions and attendance records at:
URL:
https://digital-attendance-system-28f1.onrender.com/admin/
Login Credentials:
After logging in, you'll be able to view and modify all models such as Users, Classrooms, Sessions, and Attendance Records directly from the web interface.