A full-stack MERN application for secure, digital visitor registration, QR-based pass generation, and real-time gate monitoring.
WRL-VisitorPass is an internal enterprise application developed for Western Refrigeration Pvt. Ltd., designed to digitize and automate the entire visitor management process.
This web-based solution enables Security Teams, Admins, and Department Heads to efficiently register visitors, generate A4 printable QR-based passes, and track check-ins/outs in real time.
🔐 Fully secure with JWT Authentication 🖨 Generates A4 Printable Visitor Passes with QR codes & photos 📡 Real-time visitor dashboard for Security Control Room 🏭 Integrated inside the organization’s MES ecosystem
Security/authorized staff can register:
- Visitor Name
- Company
- Department to meet
- Purpose of visit
- Valid From / Valid Till time
- Capture/Upload Visitor Photo
Each visitor is assigned a unique passId → converted into a scannable QR code.
Used for:
- Entry gate scanning
- Exit gate scanning
- Verifying authenticity
- Tracking visit duration
Pass includes:
- Company header (WRL)
- Visitor photo
- QR Code
- Visitor information
- Department/employee details
- Validity period
- Safety guidelines
- Signature boxes
The system uses print-only CSS ensuring perfect clean A4 output.
Security team can monitor:
- Visitors currently inside the factory
- Entry/exit timestamp
- Host employee & department
- Visit duration (auto-calculated)
- Overstay alerts
Security at the gate uses QR scanning:
- On entry → visitor marked “IN”
- On exit → status updated to “OUT”
Prevents unauthorized stay.
- JWT-based login
- Security role
- Admin role
- Only authorized users can create or print passes
- Visitor actions hidden for normal employees
- React.js (Vite)
- React Router
- Tailwind CSS
- Redux Toolkit + Persist
- Axios
- React Hot Toast
- QRCode
- React Datepicker
- Node.js
- Express.js
- MongoDB / Mongoose
- Multer (for photo uploads)
- QR Code Generator
- JWT Authentication
- Cookie Parser
Visitor Arrives
↓
Security User Registers Visitor
↓
System Generates Visitor Pass (QR + Photo)
↓
Print Pass (A4) → Hand over to Visitor
↓
Entry Gate Scans QR → Mark IN
↓
Visitor Meets Host
↓
Exit Gate Scans QR → Mark OUT
↓
System Logs Visit Duration
You can add images like:



cd backend
npm install
npm run devcd frontend
npm install
npm run devOpen → http://localhost:5173
- Visitor registration
- Photo upload
- Form validation
- API trigger to create pass
- Fetch pass details
- Generate QR code
- A4 printable pass
- Dynamic layout
- Clean print CSS
- Search visitors
- Filter by date / status
- Show inside/outside visitor count
- Track visit duration
Backend verifies:
- Valid pass
- Already checked-in/out
- Expired passes
- Auto SMS to host employee
- Email visitor pass PDF
- Role-based analytics
- Multi-factory support
- Mobile scanning app
- Integration with turnstile gates
Software Developer – MES Team Western Refrigeration Pvt. Ltd., India 🔗 https://www.linkedin.com/in/thecyberdevvarun
Software Developer – MES Team Western Refrigeration Pvt. Ltd., India 🔗 https://www.linkedin.com/in/vikash-kumar-54b464336/
This project is internal and proprietary to Western Refrigeration Pvt. Ltd. Unauthorized distribution is prohibited.