How os-lab-daejinuniv/smart-lab works
Main Components Identification
a. Core Components:
• Wallpad System (Frontend + Backend)
• Smart Card System
• Server (IoT Hub)
• Mobile Application
• Database (SQLite)
• IoT Devices (Door Lock, Lighting)
Detailed Component Representation
Frontend (Wallpad):
[Next.js Frontend]
• User Interface
• Advertisement Component
• Profile Management
• Real-time Updates (Socket.io Client)
Backend (Wallpad):
[Node.js Backend]
• Smart Card Processing
• Device Control Logic
• Event Management
• Socket.io Server
Smart Card System:
[JavaCard Implementation]
• Authentication Logic
• Challenge-Response System
• User Data Storage
Mobile App:
[Flutter Application]
• NFC Operations
• Card Info Management
• User Preferences
• 2FA Implementation
Data Flow Representation
• Smart Card authentication flow
• Real-time updates between frontend and backend
• Mobile app interactions with smart cards
• IoT device control commands
• Database operations
Implementation Notes
• The Socket.IO-based real-time communication
• The Challenge-Response authentication system
• The extension system for device control
• The mobile app's NFC capabilities
• The 2FA implementation