This is an application made using node.js, express.js and MongoDB as a database, You can take an appointment, the person who took an appointment receives an email on his appointment and even the doctor receives an email on the appointment taken by the patient
the packages used are:
- @hapi/joi
- express
- mongoose
- ejs
- nodemailer
views are shown using ejs(embedded javascript template).
first of all, open the folder in a terminal, and run npm install
to install all the packages from the internet in order for the application to run.
Then create a .env
file and enter the following.
[email protected]
PASSWORD=email_ID_above_password
[email protected]
Make sure that your email doesnt have two step verification
and make sure that you enebled less secure apps
option by going to
https://myaccount.google.com/lesssecureapps
Go on to http://localhost:3000
and fill in all informations, if you have followed the above given steps, the doctor and the mail id sent through the form will recieve an email on the appointment
Enjoy your powerfull Application.