Entry Management Software is an implementation of a multi-host, multi-visitor entry management system.
- The system is flexible to accomodate multiple hosts for multiple visitors.
- The software admin can register new hosts by using the
Register as host
option from Home Page. It is assumed that an admin will be handling the software, so no passwords are needed by hosts to register themselves. The whole system is only accessible by Only Admin. Check-in as guest
checks in the visitor & allots a host to the visitor from the the host attending the least visitors at that time. At the same time , an email and sms is sent to the host alloted for the visitor about the details of the visitorCheck-out Guest
checks out the visitor & sends an email & sms to the visitor including relevant details
- Server Enviornment - NodeJS
- Framework - ExpressJS
- Database - MongoDB
- Cloud database service - MongoDB Atlas
- Module to send emails - NodeMailer
- SMS sending - Twilio
- Deployment - Heroku
Note : SMS can be sent to only Twilio verified numbers as I am not using the paid service.
- The available hosts are shown as a dropdown list to the visitors, visitor can select their host from the list
- Mails are sent by an admin email-id to the host when a visitor checks in & to the visitor when she/he checks-out using the nodemailer module
- SMS are sent to to the host when a visitor checks in & to the visitor when she/he checks-out using Twilio's free account
- Email and Phone numbers are validate for correct format, and errors due to duplicacy of index data are reported using connect-flash
- If there are no hosts registered & a visitor checks-in, then an error for the same is reported.
- Duplicate hosts are restricted
- A checked-in user cannot check-in again before checking out : I used a boolean variable
checked-in
to keep track of the same & check this variable before checking in the user. - A visitor is created only once , that is , if the visitor is visiting for the second time , it will not be created again, but all other process will go as expected.
- First, fork this repository 🍴 and follow the given instructions:
# clone the repository to your local machine
$ git clone https://github.com/<YOUR-GITHUB-USERNAME>/Entry-Management-Software.git
# navigate to the project's directory and install all the relevant dev-dependencies
$ cd Entry-Management-Software && npm intsall
# Make a .env file and include the details as per config.js
# Start application
$ node app.js
# Visit http://localhost:5000/ in your browser
This project has a lot to be extended:
- Whenever a visitor checks-in , his/her picture can be captured for security purposes
- OTP verification of phone number can be set-up before allowing the visitor to enter
- Authentication can be made using JWT tokens or PassportJS for each host, like a signup and login system for hosts.
- Dashboard can be managed according to dates
- Authentications for registering new users can be setup
- Each host can be given a profile and dashboard to manage their visitors And many more things can be added to this project.