Visitor Management System in Hospital

Visitor Management System in Hospital

Visitor Management System: Streamline Visitor Management for Healthcare Organizations

The Visitor Management System is a web application built with Django, designed to make managing visitor details and meetings effortless. This system not only organizes and tracks visitors but also doubles as an official organizational website, offering an all-in-one solution. Tailored specifically for healthcare organizations, it provides seamless email and SMS notifications, detailed dashboards, and a user-friendly interface.


Key Features

  • Dual Functionality: Operates as both a visitor management tool and an official organizational website.
  • User-Friendly Design: Clean and intuitive GUI for easy navigation.
  • Real-Time Notifications: Sends emails and SMS updates to visitors and hosts.
  • Comprehensive Dashboards: Displays host profiles with images, details, and statuses.
  • Secure and Reliable: Django-powered backend ensures fast load times and secure data handling.
  • Effortless Management: Add, delete, or edit host profiles with ease.

Technology Stack

  • Backend: Django
  • Frontend: HTML, CSS, Bootstrap
  • Database: SQLite3
  • Templating Engine: Jinja
  • Messaging API: Way2SMS (or other preferred APIs)

Local Machine Development Setup

2. Install Dependencies

Navigate to the project folder and install all required dependencies:

pip install -r requirements.txt  

3. Configure Email Settings

Edit the settings.py file inside the visitor_management folder. Update the following lines:

EMAIL_HOST_USER = "your_email@example.com"  
EMAIL_HOST_PASSWORD = "your_email_password"  

Note: Enable “less secure apps” in your Google account to allow email sending.

4. Configure SMS API Settings

Edit the views.py file inside the accounts folder.

  • Email Function: Update the sender email ID:
sender = 'your_email@example.com'  
  • SMS Function: Update the API key, secret key, and sender ID for Way2SMS:
'apikey': 'your_api_key',  
'secret': 'your_secret_key',  
'senderid': 'your_way2sms_account_email_id'  

5. Create a Superuser

Run the following command to create an admin account:

python manage.py createsuperuser  

Follow the on-screen prompts to set up the superuser.

6. Run Migrations

python manage.py makemigrations  
python manage.py migrate  

7. Start the Development Server

python manage.py runserver  

Access the application in your browser at http://127.0.0.1:8000/.


How It Works

  • For Visitors:
    Visitors can explore the organization’s website, schedule meetings, and receive email/SMS updates about their meeting details.

  • For Hosts:
    Hosts and admins can manage profiles, track meetings, and access detailed visitor data via a secure dashboard.

  • Effortless Notifications:
    Automatic real-time email and SMS notifications ensure everyone stays informed.


Visitor-Management-System-Python-1024x364 Visitor Management System in Hospital
Visitor-Management-System--1024x385 Visitor Management System in Hospital

Post Comment