How bhalchandraop/smart-attendance-system works
Project type and purpose
• This is a full-stack, real-time web application (“Smart Attendance System”) that uses RFID hardware to track student entry/exit, pushes live updates to a browser UI via WebSocket, and persists data in MongoDB with Redis caching.
File structure
• Top-level:
• assets/ – images for docs
• backend/ – Node.js Express server, data models, configurations
• frontend/ – static HTML/CSS/JS client
• backend/models/Student.js indicates an MVC-style model layer
• server.js is the main entry point for HTTP + WebSocket
• .env implies configurable credentials (Mongo URI, Redis config)
• No separate “routes/” folder, so server.js likely wires all API and WS endpoints inline
README for additional insights
• Tech stack: Node.js + Express, WebSocket, MongoDB (via Mongoose), Redis cache, vanilla HTML/CSS/JS
• Hardware components: RFID reader (entry/exit scans), optional LCD display interface
• Core features: real-time attendance, scan history, student management UI