3B Smart Solutions
A business-oriented web suite built in a partnership with 3B (3bsmartsolutions.com) featuring a Point of Sale (POS) system and real-time customer/staff operations platform.
THE IDEA
The client needed a modern, synchronized operations infrastructure to replace fragmented paper tickets and offline cashier registers. The core requirement was a seamless bridge connecting walk-in customer reception, back-office dispatchers, and field technicians handling device repairs and warranty registrations across multiple branches.
WHAT I BUILT
Architected a 3-frontend monorepo and modular Node.js backend:
- Role-Based Access Control (RBAC): Scoped permissions across 5 roles: Customer, Employee, Support Admin, Admin, and Receptionist.
- Authenticated Socket.IO Rooms: JWT handshake authentication isolating ticket conversations into private real-time rooms.
- Technician State Engine: Tracking real-time technician status (
Available,Busy,Traveling,Working,Offline). - Customer Device Registry & Maintenance Forms: Structured hardware serial lookup and ticket lifecycle steppers.
- Receptionist Unified Inbox: Phone log records, callback queues, and canned response scripts.
TECHNOLOGY
THE HARD PART
Preventing race conditions where multiple field technicians attempt to claim the same urgent open repair task simultaneously from the open task pool.
HOW I SOLVED IT
Engineered status-guarded atomic database operations (using atomic findOneAndUpdate patterns), verifying that the ticket status is still strictly UNASSIGNED before binding the technician ID and broadcasting the lock to connected sockets.
RESULT
Production business software maintaining live synchronized operational state across customer, support, and admin panels with zero state collision.