A secure, full-stack application for pharmacy chains to manage customer requests for out-of-stock items, with advanced security and device-based licensing.
- Features:
- Device-based licensing with Python Flask agent validation
- Role-based access control (employee, area manager, district manager, procurement, admin)
- JWT authentication and bcrypt password hashing
- IP-based branch validation for secure access
- Record and track customer needs for unavailable products
- Manage damaged and exchanged items
- Admin dashboard for user and branch management
- Real-time alerts and notifications (SweetAlert)
- Responsive UI with React, TypeScript, Vite, and Bootstrap
- Secure file uploads for supporting documents
- Audit trails and last-login tracking
Architecture:
- Frontend: React + TypeScript + Vite (Port 5175)
- Backend: Node.js + Express + Sequelize ORM (Port 3003)
- Agent: Python Flask device agent (Port 5050)
- Database: MySQL
- Security: JWT tokens, bcrypt hashing, device licensing
- Key Technologies
- Frontend: React, TypeScript, Vite, Bootstrap, SweetAlert
- Backend: Node.js, Express, Sequelize ORM, JWT, bcrypt
- Agent: Python Flask
- Database: MySQL
- Security: License files, JWT tokens, IP validation