An entry management app built using Node.js that can manage the records of visitors and perform functions accordingly.
- This web app can take the input from the visitor's as well as Host's details like Name, Email, Phone number, Checkin time and Checkout time.
- At the same time can perform the management options like:
- sending email and sms to the host regarding visitor's stay, after checking in by visitor.
- After checking out, email would be sent to the visitor regarding their stay.
Requirements
- Node Js, Mongo db, NPM
- Mailjet username (API KEY) and Password (API KEY) for sending emails. Account can be created here!
- Datagen authorisation key and verified sender ID for sending sms. Account can be created here!
- Clone this repo to your local machine using
https://github.com/Vaibhavraj10/Entry_Management_App.git
Enter your Mailjet and Datagen credentials in config/mailer.js and save it.
Install required npm packages
$ npm installRun the mongoDb sever
$ mongodRun app.js
$ node app.jsOpen the browser and enter the URL
http://localhost:3000/
- Login, Signup and Logout feature
- Visitor's Checkin in functionality and sending the details of the visitor to the host by sms and email.
- Visitor's Checking out and sending of email to visitor regarding the details of his stay by email.
- I used
Node.JsandExpress.jsfor designing the backend, along withEJSas templating engine. For database, I usedMongoDBwithMongooseas its object modeling tool. - Further, I also used Nodemailer and Mailjet SMTP for sending emails and Datagen API for sending sms.