RFID Access Control
Go
// Overview
University project for access control using RFID card technology. Features real-time monitoring via WebSocket, JWT authentication, group-based permissions, and comprehensive event logging. Includes virtual RFID reader simulation for testing and development.
// Built with
GoWebSocketSQLiteJWT
// The problem
A campus needed access control that staff could watch live, with proper roles and an audit trail, not just a door that beeps.
// Approach
- Stream reader events over WebSocket for real-time monitoring.
- Gate actions with JWT auth and group-based permissions.
- Ship a virtual RFID reader so the whole flow can be tested without hardware.
// Engineering challenges
- Keeping the live event stream consistent across reconnects.
- Modelling group permissions cleanly without a tangle of special cases.
- Making the system demonstrable without physical readers.



