How harsh0259/smart-attendence-system works
Synapse is a static, client-side attendance app. Teachers configure and run geofenced QR sessions; students scan a QR, provide identity and location, and receive a verification result. The README also describes a design-system showcase. The single core JavaScript file contains the portal logic, but excerpts omit much of its implementation, so edges are limited to relationships visible in excerpts or documented in the README. No backend or persistent attendance database is shown.
Main entry points: app.js Session controller · index.html Landing showcase · teacher.html Teacher portal UI · student.html Student portal UI
Components 16
Teacher portal
- Teacher portal UI
teacher.html - Session controller
app.js - Teacher GPS
app.js - Dynamic QR generation
app.js - Session state
app.js
Student verification
- Student portal UI
student.html - QR scanner
app.js - Student GPS
app.js - Attendance verification
app.js - Verification result
app.js - Latest QR payload
app.js
Design showcase
- Landing showcase
index.html - Ambient interactions
app.js - Visual design system
styles.css
Other components
- Teacher
- Student
Connections 14
- Teacher → Teacher portal UI: configures session
README.md - Teacher portal UI → Session controller: starts portal
- Session controller → Teacher GPS: requests location
app.js - Session controller → Dynamic QR generation: renders QR
app.js - Session controller → Session state: updates timer
app.js - Dynamic QR generation → Latest QR payload: publishes payload
app.js - Student → Student portal UI: scans attendance
README.md - Student portal UI → QR scanner: starts scanning
- QR scanner → Attendance verification: submits QR data
app.js - Latest QR payload → Attendance verification: provides latest QR
app.js - Attendance verification → Student GPS: requests location
README.md - Attendance verification → Verification result: displays decision
app.js - Landing showcase → Ambient interactions: runs interactions
app.js - Landing showcase → Visual design system: uses styles
README.md