Full-Stack DBMS Project

Visitor Management
System

A secure, efficient, and comprehensive visitor tracking solution for modern facilities — built with Express.js, PostgreSQL, and a beautiful responsive UI.

Core Capabilities

Everything You Need

Streamline visitor operations from check-in to check-out with a full suite of management tools.

📋

Smart Check-In / Check-Out

Register new visitors or quickly check in returning ones. Auto-detects returning visitors with full visit history display.

📊

Live Dashboard

Real-time stats for active visitors, today's visits, overstays, and blacklisted visitors with auto-refresh every 30 seconds.

🔒

Role-Based Access

Three distinct roles — Admin, Receptionist, and Security — each with tailored permissions and restricted page access.

🚫

Blacklist Management

Flag and block suspicious visitors. Blacklisted visitors are automatically denied check-in with logged audit trails.

🕐

Overstay Detection

Automatic status update via database triggers when visitors exceed their expected checkout time.

📝

Reports & Logs

Verification logs, visit session reports with date/status filters, pagination, and complete audit trail visibility.

🚗

Vehicle Registration

Track visitor vehicles with parking slot assignment, vehicle type, and number plate recording.

👥

User Management

Admin panel to create, edit, toggle, and manage system users with password management and profile controls.

Cloud Deployed

Deployed on Vercel with Neon PostgreSQL — serverless architecture with zero-config scaling.

Operational Flow

How It Works

A seamless process from arrival to departure.

1

Arrival & Registration

Upon arrival, the receptionist or security guard creates a new visit session. Returning visitors are instantly recognized, speeding up the process, while new visitors provide their details and vehicle information.

2

Verification & Access

The system cross-references the visitor against the blacklist. If clear, they are assigned a host, the visit is logged, and they are granted entry to specific areas of the facility.

3

Monitoring & Departure

During the visit, the system tracks the session duration. Overstays trigger automated alerts. Upon departure, the visitor is checked out, and the session is archived in the audit logs for future reporting.

Architecture

Tech Stack

Built with modern, battle-tested technologies.

🟢 Node.js
Express.js
🐘 PostgreSQL
🔑 JWT Auth
🔐 bcrypt.js
🌐 REST API
🎨 Vanilla CSS
📄 HTML5 / JS
Vercel
🐙 Neon DB
Security Model

Role-Based Access Control

Fine-grained permissions ensure every user sees only what they need.

CapabilityAdminReceptionistSecurity
Dashboard
Check-In Visitors
Check-Out Visitors
View Visitor List
Edit / Delete Visitors✅ (edit)
Blacklist Management
Reports & Logs
User Management
Database Design

8 Relational Tables

Normalized schema with triggers, stored procedures, and views for data integrity.

📦 Core Tables

USER_ACCOUNT · VISITOR · VISIT_SESSION · VEHICLE — manage the primary entities of the system.

📜 Audit & Logs

VERIFICATION_LOG · BLACKLIST_LOG · SYSTEM_SETTINGS — complete audit trail with automatic trigger-based logging.

⚙️ Automation

5 Triggers (auto check-in/out logging, overstay detection, blacklist tracking) + 4 Stored Procedures + 3 Views.

Ready to Explore?

Log in with demo credentials and experience the full system.

Admin: admin / admin123
Security: security1 / admin123
Receptionist: reception1 / admin123
Launch Application →