Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Start‐up Guide

T I Z E N edited this page Jul 28, 2024 · 5 revisions

User requirements

To run the Software ur currentlly need following Depencies:

  • Internal NAS (Server) for internal Network use-case
  • MySQL database (linked with connect.php)
  • Browser (latest chromium-browser is recommended)
  • HTML, CSS, Javascript, BootStrap, MySQl, PHP Support
  • An valid E-Mail exlusive for sending the approve to Customers

Requirments-

We need an application, which can capture the Name, email address, phone no of the visitor and same information also needs to be captured for the host on the front end. At the back end, once the user enters the information in the form, the backend should store all of the information with time stamp of the entry. This should trigger an email to the host informing him of the details of the visitor. There should also be a provision of the checkout time which the guest can provide once he leaves. This should trigger an email to the guest with the complete form which should include:

  1. Name
  2. Phone
  3. Check-in time,
  4. Check-out time,
  5. Host name
  6. Address visited.

Example of the intended workflow

Visitor Details:
Name - Anant Sharma
Email - a.sharma@xyz.com
Phone - 9999999999
Checkin Time - 9:00 AM IST
Checkout Time - 4:00 PM IST

Host Details:
Name - Vishesh Singh
Email - vs@xyz.com
Phone - 000000000

Once Anant checks in and enters his details in the application, Vishesh should get an email stating the visitor details, and also Anant gets an Email with his UserId which will be required during Check Out.

After the meeting or visit is over, and Anant checks out at 4:00 PM, Anant should get an emails stating his visit details :

  1. Name
  2. Phone
  3. Check-in time
  4. Check-out time
  5. Host name
  6. Address visited

Website Architecture-

Architecture

Steps given is actually showing working of website.

  1. Visitor needs to fill his details in the website.
  2. He will receive a mail with his unique UserId. In the meantime, Visitor's host will also receive a mail that a guest has arrived for him.
  3. During the checkout, Visitor needs to enter his UserId and Email Id which will be verified from the database. If the User is laready inside, then he can successfully CheckOut.

Main Page

Main Page

Registration Form

Registration

Javascript Message

Simple Message with UserId

Visitors mail on Entry

Visitors Mail

Contains all important details specially UserID which will be used in Exiting.

Host mail on Entry

Host Mail

Host also receives mail on his guest entry which contains all information about guest along with the CheckIn time.

Database gets updated

Database

I created a php page to fetch data from the MySQl database which will show visitors details along with who is inside. This page can only be viewed by manager or Authorised persons. I have kept its Url different URL have to change (usin' http and is down) , We can also keep a Authorisation system also to access this page.

Please note that It is showing departure time of Sakshi Gupta, still as inside because she hasn't checked out.

Check Out

Exit

Guest during the checkOut need to enter his EmailId and UserId to get verified.

Verification

If the Visitor enters correct details, he will she this dialog box on his screen.

Correct Details

If the details do not match that of database, he will get an error dialog box.

Wrong Details

If the visitor tries to checkOut again, he will see this message in his dialog box.

Already Checked out

Database

database gets updated

See the details of Sakshi Gupta, it is updated with her time of Checkout.

Visitor gets Thanks mail

visit complete

Visitor receives one final mail with all his details as well an updated CheckIn and CheckOut time.

------------------------------------------------------------------------------------------------------------------------------------