How ragavryan365/student-tracker-frontend works
Student-Tracker-Frontend is a Next.js attendance-marking interface. An instructor selects a department, section, and year; the page fetches that class’s students, lets the instructor set each student’s status, and submits attendance. After attendance is marked, the page displays read-only student cards. The sampled page also checks whether attendance was already recorded. The backend is external; its implementation and any broader product capabilities are not present in this repository. Relationships shown are limited to the sampled page and component code.
Main entry points: page.tsx Attendance page · topMenu.tsx Class selectors · studentCardEdit.tsx Editable student card · layout.tsx Root layout
Components 7
Attendance workflow
- Attendance page
app/page.tsx - Backend API
Student interface
- Class selectors
components/topMenu.tsx - Editable student card
components/studentCardEdit.tsx - Read-only student card
components/studentCard.tsx
App shell
- Root layout
app/layout.tsx
Other components
- Instructor
Connections 10
- Instructor → Attendance page: uses
app/page.tsx - Attendance page → Backend API: fetches students
app/page.tsx - Attendance page → Backend API: checks attendance
app/page.tsx - Attendance page → Backend API: submits attendance
app/page.tsx - Attendance page → Class selectors: renders
app/page.tsx - Class selectors → Attendance page: invokes selection callbacks
components/topMenu.tsx - Attendance page → Editable student card: renders
app/page.tsx - Editable student card → Attendance page: reports status changes
components/studentCardEdit.tsx - Attendance page → Read-only student card: renders
app/page.tsx - Root layout → Attendance page: wraps page